From: Hans Hagen <j.hagen@xs4all.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
denis.maier@ub.unibe.ch
Subject: Re: Project structure light
Date: Mon, 1 Mar 2021 18:07:14 +0100 [thread overview]
Message-ID: <d27c21a3-ec08-d1a2-8468-cfd094331b74@xs4all.nl> (raw)
In-Reply-To: <f18a772d366f491fbf493bee19f3486a@ub.unibe.ch>
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2021-03-01 17:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-01 16:54 denis.maier
2021-03-01 17:07 ` Hans Hagen [this message]
2021-03-01 17:12 ` Wolfgang Schuster
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=d27c21a3-ec08-d1a2-8468-cfd094331b74@xs4all.nl \
--to=j.hagen@xs4all.nl \
--cc=denis.maier@ub.unibe.ch \
--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).