On 12/28/2021 11:09 PM, Joel via ntg-context wrote:
I am using \index{} to populate \placeindex (an index) with items.
I am wondering if there is any syntax that allows one \index{} command to define more than one entry, for example, something like this:
\index{presidents+Lincoln, Abraham; Lincoln, Abraham}
The result is two appearances in the index:
L Lincoln, Abraham
P presidents Lincoln, Abraham
Is there some syntax for making this possible, without calling \index{} multiple times? splitting on + is already tricky (i just send Alan a patch that deals with a mix of text and math that has + in it)
it is no big deal top write this but just using a ; would for sure issues with existing indices anyway, apart from maybe some typing it is not more efficient to combine Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------