Using [compress=all] for registers yields somewhat puzzling results (1.0.4 (TeX 
Live 2017)).
I would expect the register of the following code to become one single range 
"1--7", though context produces "1--2, 3--7".
Is this the expected behaviour?
And if so: is there another switch to get the ranges to be collapsed completely?

Also: There wouldn't be a shorthand to define explicit ranges? LaTeX has 
\index{Demorange|(} to \index{Demorange|)} which is actually very convenient.

Best regards,
Florian.


\defineregister [demo] [demoes]
\starttext

1
\demo{Demorange}

\page[yes]

2
\demo{Demorange}

\page[yes]

3
\startregister[demo][demorange]{Demorange}

\page[yes]

4
\demo{Demorange} 

\page[yes]

5

\page[yes]

6
\stopregister[demo][demorange]

\page[yes]

7
\demo{Demorange} 

\page[yes]

\placeregister [demo] [compress=all]

\stoptext




____________________________________________

Florian Grammel

Copenhagen, Denmark

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

maillist : [email protected] / 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