(Using mkiv.)

I have an index in which some entries need suffixes on the page numbers,
for which I have used processors.

For index ranges, I need the page number suffix only to appear on the end
page number, not the start page number.

The below MWE produces an index entry: sausage  1i-2i

What I need is: sausage  1-2i

Is this possible?

MWE

\defineprocessor[important][right={\it{i}}]

\starttext
\samplefile{knuth}
\startregister[index][sausage][important->sausage]{sausage}
\dorecurse{6}{\samplefile{knuth}}
\stopregister[index][sausage]{sausage}
\samplefile{knuth}
\page
\placeindex
\stoptext


Thanks in advance,

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to