Command/environment
< Command
Jump to navigation
Jump to search
Contents
\environment
Summary
The command \environment is used for including style setups
Settings
Settings string
Description
This includes the style setups defined in the file argument. Usually used in combination with Project structure, but it could be used in any input file.
Examples
Example 1
The environment file:
% env_packed_items.tex \setupitemize[packed]
A file that uses that environment:
% myfile.tex \environment env_packed_items \starttext bla bla \startitemize \item \stopitemize \stoptext
Notes
- By Zsd on 2026-03-23T15:01:58+0000:
- By default, "\environment env.tex" in file mydoc.tex will look for env.tex in the same directory as mydoc.tex ("."), as well as mydoc.tex's parent directory ("..") and grandparent directory ("../.."), and possibly even higher ancestor directories.