From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69674 Path: news.gmane.org!not-for-mail From: "Thomas Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: Continuous chapter numbering without prefixes in documents with parts Date: Fri, 01 Jul 2011 16:14:14 +0200 Message-ID: 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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1309529696 4082 80.91.229.12 (1 Jul 2011 14:14:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2011 14:14:56 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 01 16:14:50 2011 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.69) (envelope-from ) id 1QceUb-0006Bx-Vx for gctc-ntg-context-518@m.gmane.org; Fri, 01 Jul 2011 16:14:50 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 60C90CAE8F; Fri, 1 Jul 2011 16:14:49 +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 mNXG3Rgqe977; Fri, 1 Jul 2011 16:14:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 01E00CAE81; Fri, 1 Jul 2011 16:14:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1C697CAE81 for ; Fri, 1 Jul 2011 16:14:27 +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 UuHCWxGDRGPZ for ; Fri, 1 Jul 2011 16:14:15 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id C2E59CAE4E for ; Fri, 1 Jul 2011 16:14:15 +0200 (CEST) Original-Received: from uni-bonn.de (mail1x.uni-bonn.de [131.220.15.112]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p61EEE1m004104 for ; Fri, 1 Jul 2011 16:14:14 +0200 Original-Received: from [93.210.231.245] (account tschmit1@uni-bonn.de) by be2.uni-bonn.de (CommuniGate Pro WEBUSER 5.2.12) with HTTP id 7540907 for ntg-context@ntg.nl; Fri, 01 Jul 2011 16:14:14 +0200 X-Mailer: CommuniGate Pro WebUser v5.2.12 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.112; country=DE; region=07; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bF2Cee8s - 62144e151dc5 - 20110701 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:69674 Archived-At: On Fri, 1 Jul 2011 15:33:07 +0200 Julian Becker wrote: > Thank you Thomas, and sorry for not having performed a >proper search > priorly. > Still, the thread you refered me to only provides half >of what I need (if I > didn't miss anything): > > I added the line: > \setuphead[chapter][chaptersegments=chapter] > which indeed got rid of the chapter number prefix. > Still, the chapter numbering gets reset in each new >part. How can I avoid > that? > Excuse me for sounding a bit grumpy, but please make complete minimal examples. Which means they should be compilable, see http://www.minimalbeispiel.de/mini-en.html. Here is one such example which does what you want (and this solution could also be found in the list archive): \definestructureresetset[default][0,0][1] \setuphead[part][sectionresetset=default] \setuphead[part][placehead=yes] \setuphead[chapter][sectionsegments=chapter,ownnumber=yes] \starttext \startpart[title=First part] \startchapter[title=Chapter one] \input tufte \stopchapter \startchapter[title=Chapter two] \input tufte \stopchapter \stoppart \startpart[title=Second part] \startchapter[title=Chapter three] \input tufte \stopchapter \startchapter[title=Chapter four] \input tufte \stopchapter \stoppart \stoptext 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 ___________________________________________________________________________________