From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40681 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: urgent reference problem (full path) Date: Thu, 24 Apr 2008 16:32:55 +0200 Message-ID: <115224fb0804240732y3c2d4c8cv72ad8e869d6638c7@mail.gmail.com> References: <98D0571D-4D69-44A6-BEB1-1E67DAB947F2@st.estfiles.de> 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: ger.gmane.org 1209049618 12003 80.91.229.12 (24 Apr 2008 15:06:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 15:06:58 +0000 (UTC) Cc: mailing list for ConTeXt users , Taco Hoekwater To: "Steffen Wolfrum" Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 24 17:07:33 2008 connect(): Connection refused Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Jp31l-0003PV-1W for gctc-ntg-context-518@m.gmane.org; Thu, 24 Apr 2008 17:06:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4D2101FC39; Thu, 24 Apr 2008 17:05:43 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12996-03-8; Thu, 24 Apr 2008 17:04:58 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8165A1FBC9; Thu, 24 Apr 2008 17:04:58 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6AAC51FB71 for ; Thu, 24 Apr 2008 17:04:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 12996-03-7 for ; Thu, 24 Apr 2008 17:04:09 +0200 (CEST) Original-Received: from po-out-1718.google.com (po-out-1718.google.com [72.14.252.158]) by ronja.ntg.nl (Postfix) with ESMTP id C8C9F1FB57 for ; Thu, 24 Apr 2008 16:32:57 +0200 (CEST) Original-Received: by po-out-1718.google.com with SMTP id b23so1182406poe.4 for ; Thu, 24 Apr 2008 07:32:56 -0700 (PDT) Original-Received: by 10.140.177.15 with SMTP id z15mr1288291rve.128.1209047575991; Thu, 24 Apr 2008 07:32:55 -0700 (PDT) Original-Received: by 10.140.133.21 with HTTP; Thu, 24 Apr 2008 07:32:55 -0700 (PDT) In-Reply-To: <98D0571D-4D69-44A6-BEB1-1E67DAB947F2@st.estfiles.de> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:40681 Archived-At: On Thu, Apr 24, 2008 at 2:55 PM, Steffen Wolfrum wrote: > > I don't know how the section number (with/without previous number) is build > internally, but I hope there could be a hack, with ... > > setupsection[...][previousnumber=yes]% so that referencing gets the full > path > > ... but a section-design like "previousnumber=no", made with ... > > \setuphead[...][command=\PreviousNumberNo] > > > Could this be done? I hope we get a better interface in the future. \def\CurrentChapterNumber#1#2% {\countervalue{@@sesection-2}:#2} \def\CurrentSectionNumber#1#2% {\countervalue{@@sesection-3}:#2} \setuphead[chapter][command=\CurrentChapterNumber] \setuphead[section][command=\CurrentSectionNumber] \starttext \chapter{text} \section[label]{text} \section{text} \section{text} \chapter{text} \in{Section}[label] \section{text} \section{text} \section{text} \stoptext Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________