ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Vit Zyka <vit.zyka@seznam.cz>
Subject: Re: Legal Project Structure
Date: Sun, 18 Dec 2005 10:50:27 +0100	[thread overview]
Message-ID: <43A530E3.7070809@seznam.cz> (raw)
In-Reply-To: <949521F1-5DC2-4840-BAC3-D487714B7755@cox.net>

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

  reply	other threads:[~2005-12-18  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-18  1:53 David Arnold
2005-12-18  9:50 ` Vit Zyka [this message]
2005-12-18 17:29 ` Willi Egger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43A530E3.7070809@seznam.cz \
    --to=vit.zyka@seznam.cz \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).