[NTG-context] combining references to several targets

Eckhart Guthöhrlein eckhart.guthoehrlein at uni-bielefeld.de
Tue May 10 10:00:35 CEST 2005

On Mon, 09 May 2005 at 22:40:03+0200, Hans Hagen wrote:
> >>>say that I have four tables with lables tab:A ... tab:D. Now, I would
> >>>like to say something like \in{Tables}[tab:A,tab:B,tab:C,tab:D] and the
> >>>output should be "Tables 2, 7-9".
> >>
> >>\in{Tables}[tab:A], \in[tab:B]--\in[tab:D]
> >
> >
> >Of course, this solution works, but it can easily break.
> >So there is no automatic sorting and combining? If I don't know that
> >table B--D have continuous numbers, or if this changes in the course of
> >writing, those references will become wrong.
> implementing this is not complex, but the tricky part is in the prefixes 
> (1.4, 2.5)

Not complex... ;-)
I admit that I didn't think of prefixes since I never used them so far.
Anyway, I think this would be a very useful feature, even if some
restrictions concerning prefixes had to be accepted. If you have the
opportunity to implement it sometime - great.


More information about the ntg-context mailing list