Bug or feature?

In a register (such as the index), a command like
\index[key]{entry}
creates an index entry sorted as 'key', and there exists also
\startregister[key]{entry} ... \stopregister[key]
which creates a page range. As far as I can tell, the [key] here plays
two roles - the ID of the range, and the sort key.

Problems arise if a publication contains more than one range with the
same key - the system ends up thinking it is one long range and you get
output like

entry 1-2-8-9

instead of

entry 1-2, 8-9.

One solution here is to simply add a number to the end of the key, so
that the first range becomes [key1] and the second [key2]. This corrects
the output.

So I guess my question is, is this a bug or a feature? It had me
confused for a while...

Thanks,

Duncan
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to