Hello,
I would like to mark the *defining occurrence* of a word index entry so that
the corresponding page number appears **in bold or in first place** in the
index.
Example:
\setupregister[index][
n=2, % 2 columns
indicator=no, % no letters
inbetween=\blank % space between letters
]
\starttext
First occurrence.
\index[myentry]{MyEntry+occurrence}
\dorecurse{1}{\input knuth \par}
\page
Second occurrence (this one should be bold or in first place in the index).
\index[myentry]{MyEntry+occurrence}
\dorecurse{1}{\input knuth \par}
\page
\placeregister[index]
\stoptext
This produces:
MyEntry
occurrence 1, 2
Is there a way in ConTeXt to mark one occurrence so that the index shows
something like:
MyEntry
occurrence **2**, 1
(or otherwise highlight the defining occurrence)?
Thank you.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________