From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20291 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: combining references to several targets Date: Mon, 09 May 2005 22:40:03 +0200 Message-ID: <427FCAA3.50200@wxs.nl> References: <20050508160425.GB11363@cebitec.uni-bielefeld.de> <427E7AE4.1080308@wxs.nl> <20050509061807.GA23119@cebitec.uni-bielefeld.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1115670801 4403 80.91.229.2 (9 May 2005 20:33:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 9 May 2005 20:33:21 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon May 09 22:33:19 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVEvc-0001fc-09 for gctc-ntg-context-518@m.gmane.org; Mon, 09 May 2005 22:32:36 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CA20E1283F; Mon, 9 May 2005 22:39:56 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20366-05-3; Mon, 9 May 2005 22:39:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 947E412839; Mon, 9 May 2005 22:39:53 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4974D12839 for ; Mon, 9 May 2005 22:39:52 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 20366-05-2 for ; Mon, 9 May 2005 22:39:51 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 693ED1281A for ; Mon, 9 May 2005 22:39:51 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j49Kdk41023268 for ; Mon, 9 May 2005 22:39:46 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id 4BA16246CF; Mon, 9 May 2005 22:14:22 +0200 (CEST) Original-Received: from [10.100.1.53] (unknown [10.100.1.53]) by server-1.pragma-net.nl (Postfix) with ESMTP id 6A1A317B97 for ; Mon, 9 May 2005 20:14:20 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <20050509061807.GA23119@cebitec.uni-bielefeld.de> X-Virus-Scanned: ClamAV version 0.83, clamav-milter version 0.83 on mailrelay02 X-Virus-Status: Clean X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20291 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20291 Eckhart Guth=F6hrlein wrote: > On Sun, 08 May 2005 at 22:47:32+0200, Hans Hagen wrote: >=20 >>Eckhart Guth=F6hrlein 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 th= e >>>output should be "Tables 2, 7-9". >> >>\in{Tables}[tab:A], \in[tab:B]--\in[tab:D] >=20 >=20 > 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 -----------------------------------------------------------------