On Mar 12, 2007, at 9:42 AM, Thomas A. Schmitz wrote:

> Hi,
>
> I'm sorry, this is the third time I'm asking this question, but I
> haven't been able to solve this, and the book is going to the
> publisher next month, so it's kind of urgent (I will sulk in Epen if
> this doesn't work :-)
>
> 1. I need to define a special type of register that will typeset page
> ranges in bold. I have a subindex that does that for single entries:
>
> \setupregister[index][imp][pagestyle=bold]
>
> which I invoke like
>
> \index[imp::]{modernity}
>
> and it works. How can I have the same thing for ranges?

OK, I tried a hack, and I just wanted to ask if there's anything  
wrong with it: as dirty workaround, I added a fourth key to  
dostartregister:


\def\startregister
   {\doquadrupleempty\dostartregister}

\def\dostartregister[#1][#2][#3][#4]#5%
   {\chardef\registerpagestatus\plustwo
    \def\currentregister{#1}%
    \setgvalue{\??id#1\??id#2}{\dodostopregister[#1][#3]{#5}}%
    \dodoregister[#3]{#4}{#5}}

and after a quick test, this seems to do what I want. The endash  
between numbers is not bold, but I could live with that. Any comments  
from the developers?

>
> 2. Another index question: I have several seeindex entries. They
> work, but the publisher doesn't want a linebreak, and they want "see"
> in italics. SO instead of
>
> lisible
>     see readerly
>
> they want
>
> lisible *see* readerly
>
> Can this be configured, or can I hack core-reg.tex (and how?).
>
Any chances to know more about this?

Best

Thomas

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to