* Legal Project Structure
@ 2005-12-18 1:53 David Arnold
2005-12-18 9:50 ` Vit Zyka
2005-12-18 17:29 ` Willi Egger
0 siblings, 2 replies; 3+ messages in thread
From: David Arnold @ 2005-12-18 1:53 UTC (permalink / raw)
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?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Legal Project Structure
2005-12-18 1:53 Legal Project Structure David Arnold
@ 2005-12-18 9:50 ` Vit Zyka
2005-12-18 17:29 ` Willi Egger
1 sibling, 0 replies; 3+ messages in thread
From: Vit Zyka @ 2005-12-18 9:50 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Legal Project Structure
2005-12-18 1:53 Legal Project Structure David Arnold
2005-12-18 9:50 ` Vit Zyka
@ 2005-12-18 17:29 ` Willi Egger
1 sibling, 0 replies; 3+ messages in thread
From: Willi Egger @ 2005-12-18 17:29 UTC (permalink / raw)
Hi David,
your setup looks o.k. to me. Still I have suggestions:
- setup the output in the environment file \setupoutput[pdftex]
- move the startbodymatter - stopbodymatter up into the project file.
- reverse the \product and the \projec tline in the component file (I do
not know whether this is important though)
Kind regards Willi
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?
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-12-18 17:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-18 1:53 Legal Project Structure David Arnold
2005-12-18 9:50 ` Vit Zyka
2005-12-18 17:29 ` Willi Egger
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).