Hi all! Better late than never, you'll say, because I've just started using MkIV... :-) I have some troubles setupping an index and the options I try using from the (old) ConTeXt manual don't help or seem to have no effect. So basically, I have this: \starttext \chapter{Ch1} \index{abc}abc \index{bcd}bcd \index{def}def \chapter{Ch2} \index{wxy}wxy \index{xyz}xyz \index{zzz}zzz \page \setupregister[index][indicator=no] \placeindex \stoptext That works. But I'm trying to do two things here and I'll be damned if the info can be found somewhere. I've tried my best to find it, but to no avail... So: 1) I'd like a single list with no blank lines in between letters (I've already removed the indicator, but I'm stuck there). 2) I'm trying to align the pagenumber on the right side of the column. Should be easy, but...?! I'm truly sorry if these questions are easy to answer, but I'm clueless here, alas! And hey, I've recently completed a thesis that was wholly done with MKII. I do know I'm way behind the times! :-) Thanks in advance, JFS
So basically, I have this:
\starttext
\chapter{Ch1}
\index{abc}abc
\index{bcd}bcd
\index{def}def
\chapter{Ch2}
\index{wxy}wxy
\index{xyz}xyz
\index{zzz}zzz
\page
\setupregister[index][indicator=no] \placeindex \stoptext
1) I'd like a single list with no blank lines in between letters (I've already removed the indicator, but I'm stuck there).
2) I'm trying to align the pagenumber on the right side of the column. Should be easy, but...?!
Nobody has a solution? :-( Are my questions unclear and badly formulated? JFS
Am 14.04.2012 um 03:46 schrieb Jeff Smith:
So basically, I have this:
\starttext
\chapter{Ch1}
\index{abc}abc
\index{bcd}bcd
\index{def}def
\chapter{Ch2}
\index{wxy}wxy
\index{xyz}xyz
\index{zzz}zzz
\page
\setupregister[index][indicator=no] \placeindex \stoptext
1) I'd like a single list with no blank lines in between letters (I've already removed the indicator, but I'm stuck there).
2) I'm trying to align the pagenumber on the right side of the column. Should be easy, but...?!
Nobody has a solution? :-( Are my questions unclear and badly formulated?
\setupregister[index][indicator=no,pagecommand=\wordright,before=] Setup commands are put before \starttext, when you really need these settings for a certain register placement you can write \placeindex[..,.=.,..] Wolfgang
On Sat, Apr 14, 2012 at 08:26, Wolfgang Schuster
\setupregister[index][indicator=no,pagecommand=\wordright,before=]
Setup commands are put before \starttext, when you really need these settings for a certain register placement you can write \placeindex[..,.=.,..]
Thanks a lot, Wolfgang. The empty before= makes me realize I should find the command myself in the code and look at the defaults. It's pretty much the last thing I had to do, but I didn't. I tend to always think these particular parameters (command=, after=, before-, etc.) are extra options, so I never think to override them in this way. I'll try and remember that the next time. Thanks again! JFS
participants (2)
-
Jeff Smith
-
Wolfgang Schuster