Thank you, Bruce and Wolfgang
I did not know the \dosetfastregisterentry command. And with the
example given by Wolfgang I was able to understand better the
\setregistryentry command.
Regards
Marcus Vinicius
On Fri, Sep 27, 2024 at 2:57 PM Henning Hraban Ramm
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 ___________________________________________________________________________________
-- Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo nem seus membros, por ser descanso da alma, primavera do coração, distração do aflito, entretenimento do solitário, e viático do viajante. Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)