Thanks for this response. I'll have to work on this (but tomorrow... it's late at night for me at the moment). I can see part of what you mean: I can use, for example \index[myindex]{\it Book title} (Book Author) and get the correct result, but not sorted properly, so I have to understand how, as you say, to 'set the sort entry to the unformatted version' which is not clear to me at the moment. I'll tackle it on the morrow when I'm thinking more clearly! Julian On 29/1/22 20:43, Henning Hraban Ramm via ntg-context wrote:
Am 29.01.22 um 06:23 schrieb jbf via ntg-context:
Any thoughts (but I'm pretty sure this isn't fully explained in the wiki) how I can get part of the index entry in italics and part normal? That might be a bit more difficult I think.
If you want to format the page number or the whole entry, you can use processors. But if you want to format only parts of the entry, I don’t see an other solution than to use formatting in the entry and set the sort entry to the unformatted version like:
\index[myindexentry]{{\it my} index entry}
otherwise the name of the used commands/macros is used for the index ordering.
Hraban
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________