From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/53566 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: section numbers Date: Mon, 19 Oct 2009 18:17:15 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <200910191817.15103.alan.braslau@cea.fr> 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: ger.gmane.org 1255969041 24291 80.91.229.12 (19 Oct 2009 16:17:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Oct 2009 16:17:21 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 19 18:17:10 2009 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 1Mzuux-0006lR-8v for gctc-ntg-context-518@m.gmane.org; Mon, 19 Oct 2009 18:17:07 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 770FBC9AF9; Mon, 19 Oct 2009 18:17:06 +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 4DTcPYZjAvZc; Mon, 19 Oct 2009 18:17:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 40AEAC9A97; Mon, 19 Oct 2009 18:17:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0F4D0C9A97 for ; Mon, 19 Oct 2009 18:17:02 +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 t6vYYzjhdTM0 for ; Mon, 19 Oct 2009 18:16:57 +0200 (CEST) Original-Received: from sainfoin-out.extra.cea.fr (sainfoin-out.extra.cea.fr [132.166.172.107]) by balder.ntg.nl (Postfix) with ESMTP id E736CC9A92 for ; Mon, 19 Oct 2009 18:16:56 +0200 (CEST) Original-Received: from epeire2.extra.cea.fr (epeire2.extra.cea.fr [132.167.198.32]) by sainfoin.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id n9JGGuno013019 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 19 Oct 2009 18:16:56 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire2.extra.cea.fr (8.14.2/8.14.2) with ESMTP id n9JGGuG1031166 for ; Mon, 19 Oct 2009 18:16:56 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-hb-003386.localnet (iram-hb-003386.extra.cea.fr [132.166.20.134]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.1) with ESMTP id n9JGGuSj016131 for ; Mon, 19 Oct 2009 18:16:56 +0200 User-Agent: KMail/1.12.2 (Linux/2.6.30; KDE/4.3.2; x86_64; ; ) In-Reply-To: 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:53566 Archived-At: Hello, I did not understand that this be the answer to the question, but, of course, I cannot contradict he who posted the question in the beginning. However, I understood that Thomas still wanted chapters to be numbered, but that sections be numbered independently. In my case, I have been struggling to have parts numbered (I, II, III, IV) and to have chapters numbered independently (1, 2, 3, 4, ...), such as: Part I Chapter 1 Chapter 2 Part II Chapter 3 Chapter 4 Part III Chapter 5 For this, I have \setuplabeltext[chapter=Chapter ] % By default, blank when using \part \doifmodeelse{mkiv}{ \setupstructureheads[sectionsegments=2:100] \setupstructurehead[part][resetnumber=no,placehead=yes] }{ % mkii \setuplist[chapter,section,subsection,subsubsection][partnumber=no] } but this is not quite right (works fine in mkii): - the parts are not numbered - the chapters are numbered 1, 2, 1, 2, 1, ... I have not yet figured this out (another problem kept me from using mkiv on this problem, resolved only recently). Alan On Monday 19 October 2009 16:28:10 Thomas A. Schmitz wrote: > On Oct 19, 2009, at 4:10 PM, Wolfgang Schuster wrote: > > \setuphead > > [section] > > [sectionsegments=3:100] % show only the numbers for level 3 > > (=section) till 100 (subsubsub...section) > > > > Wolfgang > > Thank you Wolfgang, that does it! At the risk of sounding like a > crybaby: would one of the two people who have understood how the new > structure code works please add some documentation somewhere? Just > imagine what would happen if Hans and Wolfgang were struck by > lightning on the same day :-) > > Thanks, and all best > > Thomas ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________