From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83288 Path: news.gmane.org!not-for-mail From: Steffen Kram Newsgroups: gmane.comp.tex.context Subject: relative references? Date: Tue, 2 Jul 2013 17:30:17 +0200 Message-ID: <9DDE18A1-FD0B-4D9D-A8A0-2504F5DE1A2C@kram.io> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1372779044 15143 80.91.229.3 (2 Jul 2013 15:30:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jul 2013 15:30:44 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jul 02 17:30:43 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uu2XP-0001cY-Fo for gctc-ntg-context-518@m.gmane.org; Tue, 02 Jul 2013 17:30:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 73D60101EC; Tue, 2 Jul 2013 17:30:38 +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 mOJGlB8Z+0dx; Tue, 2 Jul 2013 17:30:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 81450101E6; Tue, 2 Jul 2013 17:30:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9A883101E0 for ; Tue, 2 Jul 2013 17:30:35 +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 NXRE6NzdfQjX for ; Tue, 2 Jul 2013 17:30:30 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id D216C101E6 for ; Tue, 2 Jul 2013 17:30:20 +0200 (CEST) Original-Received: from tain.scriptroom.net (tain.scriptroom.net [217.10.9.75]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r62FUJiZ008127 for ; Tue, 2 Jul 2013 17:30:19 +0200 Original-Received: from doyle.mathematik.uni-ulm.de (doyle.mathematik.uni-ulm.de [134.60.66.160]) by tain.scriptroom.net (Postfix) with ESMTPSA id 3070A334A9A for ; Tue, 2 Jul 2013 17:30:16 +0200 (CEST) X-Mailer: Apple Mail (2.1508) X-Bayes-Prob: 0.0007 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=217.10.9.75; country=DE; region=02; city=Neu-ulm; latitude=48.4000; longitude=10.0167; http://maps.google.com/maps?q=48.4000,10.0167&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0TJTrujrc - c069444f0b65 - 20130702 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83288 Archived-At: Hello, is it possible to reference parts of a document in a "relative" style? My structure is as follows: \startproduct =85 \startbodymatter \component chapterFoo/main \component chapterBar/main \stopbodymatter =85 = \stopproduct Each of my chapters uses \chapter, \section =85 \subsubsubsection markers. = I would like to use references for each of them. Is it possible to reference for example the subsection "Foo AA" from the ch= apter start with an relative reference such as = \chapter[sec:foo]{Foo} \in[fooA:fooAA] \section[fooA]{Foo A} \subsection[fooAA]{Foo AA} but when referencing it from the second chapter use a absolute reference: \chapter[sec:bar]{Bar} \in[sec:foo:fooA:fooAA] =85 Is this possible? Or must I use absolute references and identifiers everywh= ere? Cheers, Steffen ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________