Difference between revisions of "Command/env"
< Command
Jump to navigation
Jump to search
(stray tag) |
m (\env is a short-cut) |
||
Line 17: | Line 17: | ||
</table> | </table> | ||
− | == Description == | + | == Description == |
+ | A shortcut for {{code|\getvariable{environment}{...}}}. | ||
Access arguments were passed from the command line via {{code|--arguments}}: | Access arguments were passed from the command line via {{code|--arguments}}: | ||
Line 33: | Line 34: | ||
== See also == | == See also == | ||
+ | * {{cmd|getvariable}} | ||
* {{cmd|doifdocumentargument}} | * {{cmd|doifdocumentargument}} | ||
* {{cmd|getdocumentargument}} | * {{cmd|getdocumentargument}} |
Revision as of 21:03, 10 September 2012
\env
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
Help from ConTeXt-Mailinglist/Forum
All issues with: