[NTG-context] Project structure light

Hans Hagen j.hagen at xs4all.nl
Mon Mar 1 18:07:14 CET 2021


On 3/1/2021 5:54 PM, denis.maier at ub.unibe.ch wrote:
> Hi,
> 
> another question regarding project structure. I want to put each chapter 
> of a book in a component or a distinct file loaded with \input, but I 
> don’t want to have a full project structure. Just a main file and the 
> chapters. Nevertheless, I want to load the environment file in each 
> subfile. Is that possible or will that cause problems?
> 
> Best,
> 
> Denis
> 
> main.tex
> 
> --------------------------
> 
> \environment test
> 
> \starttext
> 
> \input chapter1
> 
> \stoptext
> 
> --------------------------
> 
> chapter1.tex
> 
> --------------------------
> 
> \environment test
> 
> \starttext
> 
> Some text.
> 
> \stoptext
many of the manuals are that way, just look in the doc subtree for examples

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list