From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55634 Path: news.gmane.org!not-for-mail From: Andreas Harder Newsgroups: gmane.comp.tex.context Subject: Re: last chapter number Date: Mon, 18 Jan 2010 16:04:15 +0100 Message-ID: References: <7BA269C8-AAAD-46AC-A60A-BB915B5CFAA2@rz-online.de> <1867F0AF-0470-422D-ACE6-68CF3D2ECC72@googlemail.com> <6C55FC49-E9A5-44C4-979F-F660F8DDB3F2@uni-koblenz.de> <4B544FE0.8070904@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263827078 17637 80.91.229.12 (18 Jan 2010 15:04:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Jan 2010 15:04:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 18 16:04:31 2010 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.50) id 1NWt9b-0006SQ-5d for gctc-ntg-context-518@m.gmane.org; Mon, 18 Jan 2010 16:04:31 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3EC71C9BB9; Mon, 18 Jan 2010 16:04:30 +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 La9GC62O8PrA; Mon, 18 Jan 2010 16:04:26 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1AAC1C9C38; Mon, 18 Jan 2010 16:04:26 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 32CDBC9C38 for ; Mon, 18 Jan 2010 16:04:22 +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 dSS5J24kh4li for ; Mon, 18 Jan 2010 16:04:17 +0100 (CET) Original-Received: from deliver.uni-koblenz.de (deliver.uni-koblenz.de [141.26.64.15]) by balder.ntg.nl (Postfix) with ESMTP id B8BC4C9BB9 for ; Mon, 18 Jan 2010 16:04:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 87C1178A33A5 for ; Mon, 18 Jan 2010 16:04:16 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19627-05 for ; Mon, 18 Jan 2010 16:04:16 +0100 (CET) X-CHKRCPT: Envelopesender noch aharder@uni-koblenz.de Original-Received: from [192.168.1.112] (77-23-29-238-dynip.superkabel.de [77.23.29.238]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTP id 243AE7894117 for ; Mon, 18 Jan 2010 16:04:16 +0100 (CET) In-Reply-To: <4B544FE0.8070904@wxs.nl> X-Mailer: Apple Mail (2.1077) X-Virus-Scanned: amavisd-new at uni-koblenz.de 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:55634 Archived-At: Am 18.01.2010 um 13:11 schrieb Hans Hagen: > the beta now has > = > \starttext > = > \dorecurse {5} { > \chapter{Test #1} > first: \somestructureheadnumber[chapter][first]\par > current: \somestructureheadnumber[chapter][current]\par > last: \somestructureheadnumber[chapter][last] > \dorecurse {3} { > \section{Test #1} > first: \somestructureheadnumber[section][first]\par > current: \somestructureheadnumber[section][current]\par > last: \somestructureheadnumber[section][last] > } > } > = > \stoptext > = > upto the two of you who wikifies this Thanks a lot! I=92ve wikified your example. Greetings Andreas ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________