Command/doifdocumentargument

From Wiki
< Command
Revision as of 12:54, 10 September 2012 by Esteis (talk | contribs) (documentargument --> getdocumentargument)
Jump to navigation Jump to search

\doifdocumentargument

Syntax

\doifdocumentargument{...}{...}
{...} argument name
{...} code if the argument is defined

Description

Process certain content only if a certain command-line argument was present.

Example

% test.tex
\starttext
\doifdocumentargument{Number}{\getdocumentargument{Number Yes}
\stoptext
context --Number test.tex

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: