Difference between revisions of "Command/env"
< Command
m (\env is a short-cut) |
(hint that documentargument is something else) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>env</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 35: | Line 38: | ||
== See also == | == See also == | ||
* {{cmd|getvariable}} | * {{cmd|getvariable}} | ||
− | * {{cmd|doifdocumentargument}} | + | * {{cmd|doifdocumentargument}} (not only --arguments) |
− | * {{cmd|getdocumentargument}} | + | * {{cmd|getdocumentargument}} (not only --arguments) |
* {{cmd|env}} | * {{cmd|env}} | ||
Latest revision as of 20:29, 19 March 2024
\env
Syntax (autogenerated)
\env{...} | |
{...} | key |
Syntax
\env{...} | |
{...} | argument name |
Description
A shortcut for \getvariable{environment}{...
}.
Access arguments were passed from the command line via --arguments
:
context --arguments=arg1=value1,arg2="value 2"
Example
% official-response.tex \starttext The request is \env{permission}. \stoptext
context --arguments=permission=granted official-response.tex
See also
- \getvariable
- \doifdocumentargument (not only --arguments)
- \getdocumentargument (not only --arguments)
- \env
Help from ConTeXt-Mailinglist/Forum
All issues with: