From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81384 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: structure: project, product, structureresetset, ... Date: Mon, 25 Mar 2013 18:45:12 +0100 Message-ID: <3BBC3EB3-78C1-45F5-A8E5-036D4BEB8063@gmail.com> References: <20130325162907.177508cb@sole> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364233519 4811 80.91.229.3 (25 Mar 2013 17:45:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 25 Mar 2013 17:45:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 25 18:45:46 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UKBSq-0004fl-64 for gctc-ntg-context-518@m.gmane.org; Mon, 25 Mar 2013 18:45:44 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1A060101E9; Mon, 25 Mar 2013 18:45:20 +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 uykNmtaaH-Xv; Mon, 25 Mar 2013 18:45:18 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 518C0101E5; Mon, 25 Mar 2013 18:45:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5A1A101E5 for ; Mon, 25 Mar 2013 18:45:16 +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 QicGO5-PH482 for ; Mon, 25 Mar 2013 18:45:15 +0100 (CET) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id DC3C9101E4 for ; Mon, 25 Mar 2013 18:45:15 +0100 (CET) Original-Received: from mail-ea0-x234.google.com (mail-ea0-x234.google.com [IPv6:2a00:1450:4013:c01::234]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r2PHjF33009801 for ; Mon, 25 Mar 2013 18:45:15 +0100 Original-Received: by mail-ea0-f180.google.com with SMTP id d10so598643eaj.11 for ; Mon, 25 Mar 2013 10:45:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=dijzxsT18gLSB5w9eaCAm2JDjHYrlNOhi8nFe6fUBi0=; b=PEvZolMKrNJwCRpTwPHoxcJ51A/SVRX7BBirel+TSFHIc7zXekh/S07msnoUmJBalx gk/61oOSHMrIziSXzcFoZTZfmfm7o24KwhInUXvz8Eae9t1ew73tGxqafK8cT0ZPut7H 5UE489/vE/Nkq4WA2doONlpF8OPyhB09Izol8ZrK5+3eR80MKiuo2s/wuLHVaeu8hdkv WDh13Hm2fRYWlPIIP/mVmTfrKK+kT6tFBGI12n1tPjZ8RTDC47QtK03M51ojhd5w9YaN 32dxTUJDkM54OaGC/xtv4si16LgsuAcQ8S9Uw26FLSxrxWWZpOOiSzaehvKcCc+Ryg9Z 3gAA== X-Received: by 10.14.183.67 with SMTP id p43mr22113825eem.10.1364233514881; Mon, 25 Mar 2013 10:45:14 -0700 (PDT) Original-Received: from keima.localdomain (nrbg-4dbfbf92.pool.mediaWays.net. [77.191.191.146]) by mx.google.com with ESMTPS id h5sm20505407eem.1.2013.03.25.10.45.12 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 25 Mar 2013 10:45:13 -0700 (PDT) In-Reply-To: <20130325162907.177508cb@sole> X-Mailer: Apple Mail (2.1503) X-Bayes-Prob: 0.3662 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=2a00:1450:4013:c01::234; country=IE X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VJfRJfFk - a1016760559e - 20130325 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) 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:81384 Archived-At: Am 25.03.2013 um 16:29 schrieb Alan BRASLAU : > Hello, > > I have a *project* that consists of a book in 3 volumes. > Each volume is a *part*. > Each volume or part has a (recto-verso) title page. > Each volume or part also has front and back matter: table of contents, bibliography, index, ... > Each volume or part also has *appendices* > > Thus, I have 3 *products* corresponding to the three volumes. > Each product has *components*: chapters, appendices, ... > > Now, I would like the second volume to know that it is Part II and the third volume to know that it is Part III. > I would also like to continue the chapter numbering in succession in each volume: > i.e. 1, 2, 3 in Part I; 4, 5, 6 in Part II; 7, 8, 9 in Part III. > Furthermore, I would like the appendices to do likewise: > i.e. A, B in Part I; C, D, and E in Part II; F in Part III. > > Of course, I need to specify in my *environment* > > \definestructureresetset [default] [0,0] [1] > \setuphead [part] [sectionresetset=default,conversion=Romannumerals] > > But... how do I propagate the numbering from product to product, that is part to part? > Everything was just fine when all of the parts were collected into a single product > having a unique front and back matter and all of the appendices at the end... > > It should be simple, but sometimes I fail to see the obvious! :) \startsectionblockenvironment[bodypart] \setupheadnumber[chapter][6] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setupheadnumber[chapter][2] \stopsectionblockenvironment \starttext \startbodymatter \chapter{Chapter} \stopbodymatter \startappendices \chapter{Appendix} \stopappendices \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________