From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22969 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Peter_M=FCnster?= Newsgroups: gmane.comp.tex.context Subject: Re: Continuous chapter numbering Date: Thu, 13 Oct 2005 23:10:33 +0200 (CEST) Message-ID: References: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: sea.gmane.org 1129269422 17108 80.91.229.2 (14 Oct 2005 05:57:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 14 Oct 2005 05:57:02 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 14 07:56:52 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1EQIYK-000129-Am for gctc-ntg-context-518@m.gmane.org; Fri, 14 Oct 2005 07:56:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A76F612783; Fri, 14 Oct 2005 07:56:23 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26859-07; Fri, 14 Oct 2005 07:56:18 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2DB4A12796; Fri, 14 Oct 2005 07:56:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9BC5A12796 for ; Fri, 14 Oct 2005 07:56:16 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26856-06 for ; Fri, 14 Oct 2005 07:56:13 +0200 (CEST) Original-Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by ronja.ntg.nl (Postfix) with ESMTP id DC7A712783 for ; Fri, 14 Oct 2005 07:56:13 +0200 (CEST) Original-Received: from gaston.free.fr (unknown [62.147.21.87]) by smtp6-g19.free.fr (Postfix) with ESMTP id 414D894BD for ; Fri, 14 Oct 2005 07:56:12 +0200 (CEST) Original-Received: by gaston.free.fr (Postfix, from userid 500) id 71D2513C061; Thu, 13 Oct 2005 23:10:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.free.fr (Postfix) with ESMTP id 294DE148110 for ; Thu, 13 Oct 2005 23:10:33 +0200 (CEST) X-X-Sender: peter@gaston.free.fr Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22969 Archived-At: On Thu, 13 Oct 2005, Randall Skelton wrote: > I have a technical manual setup in ConTeXt whereby the manual itself is a > ConTeXt 'project' and each chapter is a different component. Within this, I > need to group some chapters together so these grouped chapters are products.. > Thus, I have: > > project: MyManual > component: Chapter 1 > component: Chapter 2 > component: Chapter 3 > product: Example 1 > component: Chapter 4 > component: Chapter 5 > product: Example 2 > component: Chapter 6 > component: Chapter 7 > product: Example 3 > component: Chapter 8 > component: Chapter 9 Hello Randall, it's considered, that the project-file contains only setup-commands and a list of products, but no commands, that generate directly output. When you compile a product, the referenced project-file gets included in some manner, so every product of the project will inherit the same setups. Compiling the project-file is seldom useful. It will generate all products in one file. Consider just, that one product is one document, and a component is a kind of "sub-document" for example a chapter. And the project-file is just a list of documents, that should inherit some common setups. I suggest the following structure: project: MyManual product: the manual component: Chapter 1 component: Chapter 2 component: Chapter 3 component: Chapter 4 component: Chapter 5 component: Chapter 6 component: Chapter 7 component: Chapter 8 component: Chapter 9 product: Example 1 component: title page for example 1 component: Chapter 4 component: Chapter 5 product: Example 2 component: title page for example 2 component: Chapter 6 component: Chapter 7 product: Example 3 component: title page for example 3 component: Chapter 8 component: Chapter 9 I hope, this helps. Cheers, Peter -- http://pmrb.free.fr/contact/