7 Jul
2024
7 Jul
'24
4:01 p.m.
Henning Hraban Ramm schrieb am 05.07.2024 um 22:36:
Hi, is it possible to apply a processor to an index sub-entry?
\index{Modules+\type{filter}} looks good, but "filter" is sorted under "type".
\defineprocessor[type][style=mono] \index{Modules+type->filter} results in a "Modules / type->filter" entry.
\index[Modules+filter]{Modules+\type{filter}} works and looks good, but the code feels bad…
1. Complete your example to test them without adding stuff. 2. Use \setregisterentry which allows you to set processors for each entry level. \defineprocessor[type][style=mono] \starttext xxx\setregisterentry[index][entries:1=Modules,entries:2=filter,processors:2=type] \placeindex[n=1] \stoptext Wolfgang