(1) If I get the same index entry two or more times on a page, sometimes with processor formatting, sometimes not, how can I control which version takes precedence? Actual use case: index entries from footnotes should be italics, while those from the main text stay upright. Now, if there is an entry from the main text, the entry from the footnote doesn’t matter. Is it possible to control that? I wouldn’t like to sort out the cases manually and remove the entries from the footnotes – there are 981 footnotes in this book, and there are 15 pages of index entries. I’m using a macro (I suppose you’ll remember; I left out the Lua table lookup for unified entries): \defineprocessor[kursiv][style=italicface] \define[1]\nIndex{\doifmodeelse{*footnote}{% \expanded{\index[kursiv->]{#1}}}% }{% \expanded{\index{#1}}}% }} (2) Can I avoid linebreaking of page ranges in \placeindex? E.g. in Knuth, Don 23, 35- 37, 40 I’d like to keep 35–37 together (break before 35). Hraban
participants (1)
-
Henning Hraban Ramm