On Thu, Apr 26, 2012  12:53:57 +0200,
Philipp Gesang <ges...@stud.uni-heidelberg.de> wrote

> You want the ?compress? switch in placeregister, or indicate
> ranges with \{start,stop}register:
>
> ????????????????????????????????????????????????????????????????????????
> \defineregister [demo] [demoes]
> \starttext
>
> \demo{Demoitem} foo
> \page[yes]
> \demo{Demoitem} foo
> \page[yes]
> %%% Here?s the range; should work without ?compress?
> \startregister[demo][demorange]{Demorange}
> \demo{Demoitem} foo
> \page[yes]
> \demo{Otheritem} bar
> \page[yes]
> \demo{Otheritem} bar
> \page[yes]
> \stopregister[demo][demorange]%% <= you?ll need to explicitly terminate the 
> ranges so they can overlap
> \demo{Otheritem} bar
> \page[yes]
> \demo{Demoitem} foo
> \page[yes]
> \demo{Demoitem} foo
>
> \page[yes]
> %%%% Here?s the relevant bit:
> \placeregister [demo] [compress=yes]
>
> \stoptext
> ????????????????????????????????????????????????????????????????????????
>
> Btw. have you read the small print: 
> http://wiki.contextgarden.net/Registers#Tricks ?
>

Thank you, Philipp,

This works perfectly.
I had seen the small print in that page but had obviously not read it
carefully enough.

So two of my problems are solved, the main wish, to be able to make an
index with distinguishable entries, is still unfulfilled, not only for
me but for at least two others.
Let's someone on the list can shine some light on that one too.

Kind regards,
Robert
___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to