Changes

Jump to navigation Jump to search
136 bytes added ,  12:19, 9 April 2006
corrected and clarified project/product according to Hans' mail from 2006-04-09
< [[The ConTeXt Way]], | [[Structurals]]>
ConTeXt knows no document classes (as LaTeX does). You can define your [[Layout|layout ]] yourself. If you use the same layout for several projectsproducts, save it as an '''environment''' file.
How to split up a large project, say a book, in several handy parts? – Use ConTeXt's project management facilities.
* a '''project''' contains links one or more '''products'''to their environment
* a '''product''' contains several '''component'''s
* an '''environment''' defines the common layout (etc.) of a project
The environment could also contain different versions ([[Modes|different versions]]) of the layout, e.g. print and screen (like Pragma's manuals) or final and correction etc.
Example 1: Magazine
Example 2: Book
* project: booka series of books* product: part of the one book* component: part or chapter
[[Image:project-structure.png]]
If you tex (compile) one single component (e.g. a chapter of a book) or product (e.g. one volume of a magazine), the settings environment file of the project's environment are is used. [[User:Hraban|Hraban]] uses and suggests the following naming conventions
* project_foo
* prd_foo
</texcode>
There's a Perl script <tt>makeproject.pl</tt> at Hraban's site [http://www.ramm.ch/fiee/texnique/?menu=0-1-3&lang=en ''fiëé teXnique''] to help creating the files (.ini files can be used for initial content). This functionality would be nice to be integrated in any editor supporting ConTeXt...
Anonymous user

Navigation menu