From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83779 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context Subject: Re: Part numbers Date: Sun, 11 Aug 2013 19:02:24 +0200 Message-ID: <5207C3A0.4000606@web.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1376240552 18535 80.91.229.3 (11 Aug 2013 17:02:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Aug 2013 17:02:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Aug 11 19:02:36 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V8Z2J-0007NC-Dg for gctc-ntg-context-518@m.gmane.org; Sun, 11 Aug 2013 19:02:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D1B6A10228; Sun, 11 Aug 2013 19:01:44 +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 Z7s1G0YmoRug; Sun, 11 Aug 2013 19:01:43 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 79C5E1021E; Sun, 11 Aug 2013 19:01:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6EBA71021E for ; Sun, 11 Aug 2013 19:01:41 +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 USnHM8FF5717 for ; Sun, 11 Aug 2013 19:01:40 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 8DE021021D for ; Sun, 11 Aug 2013 19:01:40 +0200 (CEST) Original-Received: from mout.web.de (mout.web.de [212.227.15.3]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r7BH2Txl007732 for ; Sun, 11 Aug 2013 19:02:29 +0200 Original-Received: from localhost.localdomain ([83.45.175.117]) by smtp.web.de (mrweb001) with ESMTPSA (Nemesis) id 0M8QaI-1W31F90uva-00vzG5 for ; Sun, 11 Aug 2013 19:02:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 In-Reply-To: X-Provags-ID: V03:K0:4lY+drV1sFsVO1YnLeKVll735fO3h1I0CFTffFUFmWYECAJveBB wKTcDpvHZJHY/KneYTi1lY4RBg3EOAUvgewmFtOmLB1VMK6XJv9Pd+BdCG2xw0zH0DWt4mp CEZAIrnHZCCDrTDaITPNJKwW4GcLkdGEY++hXZ5xjbXB/SsxUePwcmjf60AKCJrZ1zC8+tg Hzyew9bBgeSaULCBIJ89A== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.15.3; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03Kbt2tFt - d4dc81fd8c74 - 20130811 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:83779 Archived-At: On 08/11/2013 03:08 PM, Tim Steenvoorden wrote: > Hi all, > > I have a document with parts and chapters. I'd like to number the > chapters continuously through the whole document. Figured out this has > to be done with \definestructureresetset instead of the resetnumber=no > option in \setuphead. But I don't want to include the number of the part > in chapters and sections. How do I do that? Hi Tim, I think this is what you need: \definestructureresetset[default][1,0,1][1] \setuphead[chapter][sectionsegments=chapter] \setuphead[section][sectionsegments=chapter:section] \starttext \completecontent \dorecurse{5}{\part{Part} \dorecurse{2}{\chapter{Chapter} \dorecurse{2}{\section{Section}}}} \stoptext I hope it helps, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ 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 ___________________________________________________________________________________