Marcus Vinicius Mesquita schrieb am 27.09.2024 um 06:02:
Dear List,

If it is possible, I would also like to know how to use a processor
for the page number in the \setregisterentry command. If not, could it
be implemented?

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.

%%%% begin example
\defineprocessor [henning] [command=\Word]
\defineprocessor [hraban]  [color=red]

\starttext

% anything\setregisterentry[index][entries=anything]
%
% something\setregisterentry[index][entries=something]
%
% \page

Anything\setregisterentry[index][keys=hraban->,entries=henning->anything]

Something\setregisterentry[index][keys=hraban->,entries=henning->something]

\page

\placeindex

\stoptext
%%%% end example

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