> On 27 Sep 2024, at 05:02, Marcus Vinicius Mesquita > <marcusvinicius.mesqu...@gmail.com> wrote: > > 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?
Not for \setregisterentry, afaik, but there is \dosetfastregisterentry which allows the entry and page number styles to be controlled independently. usage: \dosetfastregisterentry{register}{entry}{key}{entry processor}{page processor} example: \defineregister [MyIndex] [style=tfb, alternative=A, n=1] \defineprocessor [myRed] [color=red] \defineprocessor [myGreen] [color=green] \starttext \placeMyIndex \page Text \dosetfastregisterentry{MyIndex}{plain}{}{}{} text \page Text \dosetfastregisterentry{MyIndex}{plain+green page}{}{}{myGreen} text \page Text \dosetfastregisterentry{MyIndex}{plain+red entry}{}{myRed}{myGreen} text \stoptext Regards, — Bruce Horrocks Hampshire, UK ___________________________________________________________________________________ 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 ___________________________________________________________________________________