From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79207 Path: news.gmane.org!not-for-mail From: Jean-Philippe Rey Newsgroups: gmane.comp.tex.context Subject: Managing prefixes in section references Date: Wed, 14 Nov 2012 19:54:06 +0100 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1352919263 28110 80.91.229.3 (14 Nov 2012 18:54:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Nov 2012 18:54:23 +0000 (UTC) To: ConTeXt ML Original-X-From: ntg-context-bounces@ntg.nl Wed Nov 14 19:54:34 2012 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 1TYi6Z-0001GW-QG for gctc-ntg-context-518@m.gmane.org; Wed, 14 Nov 2012 19:54:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9485A1027F; Wed, 14 Nov 2012 19:54:21 +0100 (CET) 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 RZ8fQsNneSUy; Wed, 14 Nov 2012 19:54:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 1927610235; Wed, 14 Nov 2012 19:54:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D14D010235 for ; Wed, 14 Nov 2012 19:54:17 +0100 (CET) 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 29CzFsFMQDRu for ; Wed, 14 Nov 2012 19:54:15 +0100 (CET) Original-Received: from filter1-utr.mf.surf.net (filter1-utr.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 650E81021B for ; Wed, 14 Nov 2012 19:54:15 +0100 (CET) Original-Received: from smtp2.ecp.fr (smtp2.ecp.fr [138.195.33.46]) by filter1-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qAEIs91F010758 for ; Wed, 14 Nov 2012 19:54:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by smtp2.ecp.fr (Postfix) with ESMTP id 0C2031604E; Wed, 14 Nov 2012 19:54:09 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at smtp2.ecp.fr Original-Received: from smtp2.ecp.fr ([127.0.0.1]) by localhost (smtp2.ecp.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LVXBnzqIgebS; Wed, 14 Nov 2012 19:54:08 +0100 (CET) Original-Received: from voiles.ccs.ecp.fr (voiles.ccs.ecp.fr [138.195.37.216]) (Authenticated sender: jean-philippe.rey@ecp.fr) by smtp2.ecp.fr (Postfix) with ESMTPSA id E74E31604D; Wed, 14 Nov 2012 19:54:08 +0100 (CET) X-Mailer: Apple Mail (2.1278) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=138.195.33.46; country=FR; latitude=46.0000; longitude=2.0000; http://maps.google.com/maps?q=46.0000,2.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07InuS911 - d8dd289383e2 - 20121114 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:79207 Archived-At: Hi all, I am trying to convince \in to build up a full reference (.=
) but can not work it out. Here is my minimal example : % ConTeXt 2012.11.08 MKIV \setuphead[section][sectionsegments=3Dsection] \setupreferencestructureprefix[section][number][prefixsegments=3D2:*] \starttext \chapter{Chapter one} \section[S1]{Section one} This is \in{section}[S1] % displays 1 instead of 1.1 \stoptext What am I doing wrong ? Thanks for your answers. -- = Jean-Philippe Rey Professeur - =C9cole Centrale Paris jean-philippe.rey@ecp.fr 92295 Ch=E2tenay-Malabry Cedex - France ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________