From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20299 Path: news.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: Re: combining references to several targets Date: Tue, 10 May 2005 10:00:35 +0200 Message-ID: <20050510080035.GA22866@cebitec.uni-bielefeld.de> References: <20050508160425.GB11363@cebitec.uni-bielefeld.de> <427E7AE4.1080308@wxs.nl> <20050509061807.GA23119@cebitec.uni-bielefeld.de> <427FCAA3.50200@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115713621 17589 80.91.229.2 (10 May 2005 08:27:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 08:27:01 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue May 10 10:26:59 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 1DVQ45-0007bW-2Y for gctc-ntg-context-518@m.gmane.org; Tue, 10 May 2005 10:26:05 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 66E461276F; Tue, 10 May 2005 10:33:22 +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 31094-06; Tue, 10 May 2005 10:33:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BE3E1127F0; Tue, 10 May 2005 10:00:43 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1956E127F0 for ; Tue, 10 May 2005 10:00:42 +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 30877-02-3 for ; Tue, 10 May 2005 10:00:41 +0200 (CEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE (sauron.cebitec.uni-bielefeld.de [129.70.160.28]) by ronja.ntg.nl (Postfix) with ESMTP id 4F84D127E3 for ; Tue, 10 May 2005 10:00:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id D13A74D6 for ; Tue, 10 May 2005 10:00:36 +0200 (MEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (sauron [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21490-02-9 for ; Tue, 10 May 2005 10:00:36 +0200 (MEST) Original-Received: from mowgli.Genetik.Uni-Bielefeld.DE (mowgli.CeBiTec.Uni-Bielefeld.DE [129.70.160.61]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 03A074CB for ; Tue, 10 May 2005 10:00:36 +0200 (MEST) Original-Received: by mowgli.Genetik.Uni-Bielefeld.DE (Postfix, from userid 13119) id 7D9481596; Tue, 10 May 2005 10:00:35 +0200 (MEST) Original-To: mailing list for ConTeXt users Mail-Followup-To: mailing list for ConTeXt users Content-Disposition: inline In-Reply-To: <427FCAA3.50200@wxs.nl> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at cebitec.uni-bielefeld.de 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:20299 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20299 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. -- Eckhart