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? 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?). Best, and thanks Thomas
On Mar 12, 2007, at 9:42 AM, Thomas A. Schmitz wrote:
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?
Any chances to know more about this? Best Thomas
Thomas A. Schmitz wrote:
looks harmless to me so we can patch that can you also provide the appropriate cont-en.xml entry ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
On Mar 13, 2007, at 6:41 PM, Hans Hagen wrote:
Hmm, I'm not quite sure I'm doing the right thing. I thought I could have 4 arguments in []: \startregister[name of register][key for range][type of register] [sort key]{register entry} but the [sort key] doesn't seem to work. The hack is OK for me now, but it may not be good for the distribution.
can you also provide the appropriate cont-en.xml entry
Would like to, but comparing "register" to "startregister," I don't
see anything that has to be changed?
Thomas A. Schmitz wrote:
\def\dostartregister[#1][#2][#3][#4]#5% % 3 args: #3 is sortkey {\chardef\registerpagestatus\plustwo % 4 args: #3 is type, #4 is sortkey \def\currentregister{#1}% \iffourarguments \setgvalue{\??id#1\??id#2}{\dodostopregister[#1][#4]{#5}}% \dodoregister[#4]{#3}{#5}% \else \setgvalue{\??id#1\??id#2}{\dodostopregister[#1][#3]{#5}}% \dodoregister[#3]{}{#5}% \fi}
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Steffen Wolfrum
-
Thomas A. Schmitz