From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59473 Path: news.gmane.org!not-for-mail From: Andreas Schneider Newsgroups: gmane.comp.tex.context Subject: Re: Relative references to floats Date: Wed, 09 Jun 2010 22:44:38 +0200 Message-ID: References: <4C0FF98C.3000304@googlemail.com> 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 1276116310 31830 80.91.229.12 (9 Jun 2010 20:45:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Jun 2010 20:45:10 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 09 22:45:08 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 1OMS93-0006my-R1 for gctc-ntg-context-518@m.gmane.org; Wed, 09 Jun 2010 22:45:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7EF16C9AE3; Wed, 9 Jun 2010 22:45:04 +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 zxOtLrRUGqLH; Wed, 9 Jun 2010 22:45:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0A039C9B10; Wed, 9 Jun 2010 22:45:01 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C04FC9B10 for ; Wed, 9 Jun 2010 22:44:59 +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 fi1Va-6Bj-VN for ; Wed, 9 Jun 2010 22:44:48 +0200 (CEST) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by balder.ntg.nl (Postfix) with ESMTP id 5CC4CC9AE3 for ; Wed, 9 Jun 2010 22:44:48 +0200 (CEST) Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OMS8m-0006fG-2Y for ntg-context@ntg.nl; Wed, 09 Jun 2010 22:44:48 +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 22:44:48 +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 22:44:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Followup-To: gmane.comp.tex.context Original-Lines: 30 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:59473 Archived-At: Wolfgang Schuster wrote: > Am 09.06.10 14:43, schrieb Andreas Schneider: >> 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. > > strc-ref.mkiv: > > %D A still very rudimentary|/|experimental forward|/|backward > %D reference mechanism is provided by the macro \type{\atpage}: > %D > %D \starttyping > %D ... \somewhere{backward text}{forward text}[someref] ... > %D ... \atpage[someref] ... > %D \stoptyping > > Wolfgang > Ah, thank you for pointing that out. Unfortunately it seems to be really quite experimental, as my first tests didn't go so well :D I'll keep it in mind though and play around with it a bit more. Thanks! 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 ___________________________________________________________________________________