From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12674 Path: main.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: ConTeXt project structure? Date: Tue, 22 Jul 2003 11:14:35 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v552) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1058865414 12909 80.91.224.249 (22 Jul 2003 09:16:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 22 Jul 2003 09:16:54 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Jul 22 11:16:49 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19etGK-0003LJ-00 for ; Tue, 22 Jul 2003 11:16:48 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id C799210B3F; Tue, 22 Jul 2003 11:17:50 +0200 (MEST) Original-Received: from wierda-2.demon.nl (wierda-2.demon.nl [212.238.161.244]) by ref.ntg.nl (Postfix) with ESMTP id 43EAE10B1B for ; Tue, 22 Jul 2003 11:13:02 +0200 (MEST) Original-Received: from rna.nl (host078-127.kpn-gprs.nl [62.133.78.127]) by wierda-2.demon.nl (Postfix) with ESMTP id 4BA7A2A9454 for ; Tue, 22 Jul 2003 11:14:31 +0200 (CEST) Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.552) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12674 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12674 It is probably my lack of brain cells, but I do not understand chapter 2 of the ConTeXt manual at all. Suppose I have a manual-like document and I want to produce different PDF-files out of it: 1. The book 2. The book in another layout 3. The book in screen format with navigation 4. A simple presentation with bullet points, one or more pages per chapter As I understand it I will need 4 environments: .../foo/bookenv.tex .../foo/book2env.tex .../foo/bookscreenenv.tex .../foo/presentation.tex and I can put each chapter in a component file, i.e. chapter1.tex, chapter2.tex etc. .../foo/chapter1.tex .../foo/chapter2.tex But here my understanding stops. - Should I create a project file for each of the 4 modes above? And put these in different subdirectories as in: .../foo/book/book.tex .../foo/book2/book2.tex etc.? Or do I use multiple environments in one project and I can get 4 PDF's as a result? Or are these multiple products (I would guess this, but how then to set it up)? Should my chapter files contain \startcomponent \stopcomponent and does that mean they are independently compilable? I have been reading and re-reading this, but the relation between project, environment, component and product keeps escaping me. Is there a good example somewhere?