On 3/1/2021 5:54 PM, denis.maier@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 -----------------------------------------------------------------