[NTG-context] combining references to several targets

Hans Hagen pragma at wxs.nl
Mon May 9 22:40:03 CEST 2005


Eckhart Guthöhrlein wrote:
> On Sun, 08 May 2005 at 22:47:32+0200, Hans Hagen wrote:
> 
>>Eckhart Guthöhrlein wrote:
>>
>>>Hi,
>>>
>>>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)

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------



More information about the ntg-context mailing list