From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24420 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Need to compile individual components with proper numbering, etc. Date: Sat, 17 Dec 2005 18:01:54 -0800 Message-ID: <3F6765A2-B947-4AEA-BDA3-3EA6F61FC1CE@cox.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134871442 28858 80.91.229.2 (18 Dec 2005 02:04:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2005 02:04:02 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 18 03:04:01 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 1EnntL-0008DJ-OQ for gctc-ntg-context-518@m.gmane.org; Sun, 18 Dec 2005 03:03:15 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7A74D127E8; Sun, 18 Dec 2005 03:03:14 +0100 (CET) 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 09450-04-3; Sun, 18 Dec 2005 03:03:10 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 69ABA127D8; Sun, 18 Dec 2005 03:03:10 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7F58F127D8 for ; Sun, 18 Dec 2005 03:03:08 +0100 (CET) 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 09450-04-2 for ; Sun, 18 Dec 2005 03:03:07 +0100 (CET) Original-Received: from fed1rmmtao09.cox.net (fed1rmmtao09.cox.net [68.230.241.30]) by ronja.ntg.nl (Postfix) with ESMTP id DF8AF127BC for ; Sun, 18 Dec 2005 03:03:06 +0100 (CET) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao09.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051218020308.PUYM25099.fed1rmmtao09.cox.net@[10.0.1.2]> for ; Sat, 17 Dec 2005 21:03:08 -0500 Original-To: Context Mailing List List X-Mailer: Apple Mail (2.746.2) 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24420 Archived-At: All, With the structure (posted below for completeness), I will need to compile the individual components (small chunks to post online for students with modems). I know this is possible, with say texexec section1. However, if that is section1.tex of chapter8.tex, then I will need the run to produce all of the correct numbering of examples, equations, definitions, etc. I am hoping this is possible with this structure. Comments? All, I have files: ~/IntermediateAlgebraText/book.tex ~/IntermediateAlgebraText/bookenv.tex ~/IntermediateAlgebraText/chapter1/chapter1.tex ... ~/IntermediateAlgebraText/chapter8/chapter8.tex I also have: ~/IntermediateAlgebraText/chapter1/section1.tex ~/IntermediateAlgebraText/chapter1/section2.tex ~/IntermediateAlgebraText/chapter1/section3.tex And similar files for each of the eight chapters. Here is my project file: ~/IntermediateAlgebraText/book.tex %output=pdftex \startproject book \environment bookenv \product chapter1/chapter1 \product chapter2/chapter2 \product chapter3/chapter3 \product chapter4/chapter4 \product chapter5/chapter5 \product chapter6/chapter6 \product chapter7/chapter7 \product chapter8/chapter8 \stopproject %%% Local Variables: %%% mode: conTeXt-en %%% End: Here, for example, is my ~/IntermediateAlgebraText/chapter1/chapter1.tex \startproduct chapter1 \project book \startbodymatter \chapter[chap:1]{Functions} \input zapf \component section1 \component section2 \component section3 \stopbodymatter \stopproduct %%% Local Variables: %%% mode: conTeXt-en %%% End: As an example of a section, consider ~/IntermediateAlgebraText/ chapter1/section1.tex %output=pdf \startcomponent section1 \project book \product chapter1 \section[sec:1]{The Function Concept} \input knuth \stopcomponent %%% Local Variables: %%% mode: conTeXt-en %%% End: This look OK to folks? Will I get in trouble with this plan?