[NTG-context] document structure

Taco Hoekwater taco at elvenkind.com
Fri Jul 21 14:58:12 CEST 2006



Hans van der Meer wrote:
> Must I understand that "\startlocalenvironment[abc]" within an 
> environment file means that this codeblock is used only for typesetting 
> product/component abc and excluded automatically when another 
> product/component is typeset?

I believe so.

> How does this relate to the above question about setup-file structure?

\localenvironment is sort of an alias of  \environment.

Differences: there is a but less bookkeeping done, and the file
is loaded only once in a run, never repeatedly (so that the command
can safely be used in a number of components). The files' name
(== the argument) is unimportant.

Cheers,
Taco


More information about the ntg-context mailing list