Command/doifdocumentargument

From Wiki
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

\doifdocumentargument{Number}{\getdocumentargument{Number Yes}}
context --Number myfile

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: