From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24426 Path: news.gmane.org!not-for-mail From: Vit Zyka Newsgroups: gmane.comp.tex.context Subject: Re: Legal Project Structure Date: Sun, 18 Dec 2005 10:50:27 +0100 Message-ID: <43A530E3.7070809@seznam.cz> References: <949521F1-5DC2-4840-BAC3-D487714B7755@cox.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1134901010 18411 80.91.229.2 (18 Dec 2005 10:16:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Dec 2005 10:16:50 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 18 11:16:44 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 1EnvaL-0007cf-EY for gctc-ntg-context-518@m.gmane.org; Sun, 18 Dec 2005 11:16:09 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3FD712811; Sun, 18 Dec 2005 11:16:07 +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 13328-04; Sun, 18 Dec 2005 11:16:03 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4DB6F127D5; Sun, 18 Dec 2005 11:16:03 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A0A13127D5 for ; Sun, 18 Dec 2005 11:16:02 +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 13324-04 for ; Sun, 18 Dec 2005 11:16:01 +0100 (CET) Original-Received: from smtp.seznam.cz (smtp.seznam.cz [212.80.76.43]) by ronja.ntg.nl (Postfix) with SMTP id 87DF6126F8 for ; Sun, 18 Dec 2005 11:15:59 +0100 (CET) Original-Received: (qmail 5084 invoked from network); 18 Dec 2005 09:50:21 -0000 Original-Received: from unknown (HELO ?127.0.0.1?) (vit.zyka@62.240.166.134) by tic.go.seznam.cz with ESMTPA; 18 Dec 2005 09:50:21 -0000 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <949521F1-5DC2-4840-BAC3-D487714B7755@cox.net> X-Antivirus: avast! (VPS 0550-3, 15.12.2005), Outbound message X-Antivirus-Status: Clean 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:24426 Archived-At: David Arnold wrote: > 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? Do not think so. Project is not intended to translate as a whole. It is only some unique environment, say for your textbooks. A single textbook (the IntermediateAlgebraText) is a product. Each chapters are components. So, move the structure down. Vit