Am 27.09.24 um 17:09 schrieb Wolfgang Schuster:
Try the following example which tries to cover a few of the question asked by Hraban. When you uncomment the first part you notice a few processors are ignored when you use the same entry with and without formatting.

Thank you, Wolfgang!

I still didn’t manage to combine "Anything" and "\Word{anything}", they become separate entries that look the same.

"""
\defineprocessor [Titling] [command=\Word]
\defineprocessor [Red]  [color=red]

\starttext

anything\setregisterentry[index][entries=Anything]

something\setregisterentry[index][entries=Something]

\page

Anything\setregisterentry[index][keys=Red->Anything,entries=Titling->anything]

Something\setregisterentry[index][keys=Red->Something,entries=Titling->something]

\page

\placeindex

\stoptext
"""

Hraban

(WRT processors: I still need to process your other answers, bear with me…)


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
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
___________________________________________________________________________________

Reply via email to