Robert Zydenbos schrieb am 21.08.2019 um 10:59:
Dear list members,

In my book I am creating an index. I know that there are commands for 
formatting index entries, like:

\index{sl::īga}

if I want the word 'īga' to be printed in slanted type. I also know that we can 
create sub-entries, like

\index{īga+emphasized}

But now I want the word 'īga' to be slanted, but not the word 'emphasized'. I 
have tried things like \index{sl::īga+rm::emphasized}, but I can't figure this 
out.

Any suggestions?

\defineprocessor [sl] [style=slanted]
\defineprocessor [bf] [style=bold]

\starttext

\dontleavehmode\index{sl->īga}

\dontleavehmode\index{īga+normal}

\dontleavehmode\index{bf->īga+bold}

\placeindex[balance=no]

\stoptext

Wolfgang

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to