Command/doifdocumentargument

From Wiki
< Command
Revision as of 16:22, 11 November 2019 by Usonianhorizon (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

\doifdocumentargument


Syntax (autogenerated)

\doifdocumentargument{...}{...}
{...}name
{...}true


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: