Hi Robert,

On 2012-04-26 12:07, Robert Blackstone wrote:
> In many books page numbers indicating illustrations are set in italics. 
> Pagenumbers indicating foot- or endnotes often have a suffix "n".

This I’d like to have in Context, too.

> Furthermore, when an indexed item is discussed on a number of consecutive 
> pages, usually a range is given in the index, like 144-53, or 143 ff.

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 ?

Regards
Philipp


-- 
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

Attachment: pgpdyp5QGeuVi.pgp
Description: PGP signature

___________________________________________________________________________________
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