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):
Can I avoid linebreaking of page ranges in \placeindex?
Knuth, Don 23, 35-
I’d like to keep 35–37 together (break before 35).