From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59455 Path: news.gmane.org!not-for-mail From: Andreas Schneider Newsgroups: gmane.comp.tex.context Subject: Relative references to floats Date: Wed, 09 Jun 2010 14:43:50 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1276087469 14161 80.91.229.12 (9 Jun 2010 12:44:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 12:44:29 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 09 14:44:26 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OMKdt-0001y7-VL for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jun 2010 14:44:26 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E3DEC9C09; Wed, 9 Jun 2010 14:44:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id BmCXL7PVefgo; Wed, 9 Jun 2010 14:44:19 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A92F9C9BBC; Wed, 9 Jun 2010 14:44:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4F2FCC9BBC for ; Wed, 9 Jun 2010 14:44:18 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id NCAvb7O1hgHm for ; Wed, 9 Jun 2010 14:44:04 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by balder.ntg.nl (Postfix) with ESMTP id 62C38C9BB2 for ; Wed, 9 Jun 2010 14:44:04 +0200 (CEST) Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OMKdU-0001ld-CC for ntg-context@ntg.nl; Wed, 09 Jun 2010 14:44:00 +0200 Original-Received: from p54b4c506.dip.t-dialin.net ([84.180.197.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 14:44:00 +0200 Original-Received: from aksdb by p54b4c506.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jun 2010 14:44:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Followup-To: gmane.comp.tex.context Original-Lines: 22 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p54b4c506.dip.t-dialin.net User-Agent: KNode/4.4.3 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:59455 Archived-At: Hello, is there currently (in MkIV) some way to have relative references to floats? I imagine something like "... as you can see \above[fig:somefigure]." which would print "... as you can see above." if the figure is above the current paragraph or "... as you can see below." if it is below. Maybe it's unusual to do that in books/papers, but I thought it might look better than to reference a page or a number if it is expected, that the figure is close by anyway. It would be nice if it could even go so far as to include page offsets ... "... as you can see on the next page" or "... as you can see two pages ahead". I have no real need to use this, it was just an idea to tidy up my text a bit (without risking wrong references when the layout changes and floats shift around). So if that is currently possible: awesome ... if not: no harm done :-) Best Regards, Andreas. ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________