From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36469 Path: news.gmane.org!not-for-mail From: Duncan Hothersall Newsgroups: gmane.comp.tex.context Subject: Re: currentheadnumber / doif.. problem Date: Wed, 12 Sep 2007 09:09:01 +0100 Message-ID: <46E79E9D.2080300@capdm.com> References: 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: sea.gmane.org 1189594296 9441 80.91.229.12 (12 Sep 2007 10:51:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 Sep 2007 10:51:36 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Wed Sep 12 12:51:33 2007 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 1IVPoh-0006Qa-R2 for gctc-ntg-context-518@m.gmane.org; Wed, 12 Sep 2007 12:51:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BAA3C1FF04; Wed, 12 Sep 2007 12:51:31 +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 07451-06-9; Wed, 12 Sep 2007 12:51:26 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C7B9E1FCBB; Wed, 12 Sep 2007 12:51:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0A5A11FC98 for ; Wed, 12 Sep 2007 12:51:08 +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 07451-06-4 for ; Wed, 12 Sep 2007 12:51:01 +0200 (CEST) Original-Received: from banoffee.capdm.com (banoffee.capdm.com [212.20.255.171]) by ronja.ntg.nl (Postfix) with ESMTP id 53DBF1FF04 for ; Wed, 12 Sep 2007 10:10:10 +0200 (CEST) Original-Received: from [192.168.254.41] (lynx.capdm.com [212.20.255.162]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by banoffee.capdm.com (Postfix) with ESMTP id 071E33448136 for ; Wed, 12 Sep 2007 08:52:17 +0100 (BST) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: 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:36469 Archived-At: Hi Peter > Date: Mon, 10 Sep 2007 01:21:26 +0200 > From: Peter Schorsch > Subject: [NTG-context] currentheadnumber / doif.. problem > To: ntg-context@ntg.nl > > Hi, > > I tried to get the full present heading-number. If I am using currentnumber > I am getting back only the last part of the heading-number. So I tried do > implement a function like this: > > ... I don't have much time to investigate properly but there should be a \complexheadnumber defined in core-sec which gives you what you need. This should be tied to \headnumber though, so if that doesn't work it may be to do with where or how you are using the command. Do you have a complete minimal example document? Duncan ___________________________________________________________________________________ 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 ___________________________________________________________________________________