[NTG-context] Can I use language as a mode (set on the command line) and simplify this?

Pablo Rodriguez oinos at gmx.es
Wed May 11 18:24:20 CEST 2022


On 5/11/22 18:09, Wolfgang Schuster via ntg-context wrote:
> Pablo Rodriguez via ntg-context schrieb am 11.05.2022 um 17:57:
>> AfaIk, there is not "--language" option from the command line. (This
>> also makes sense to me.)
>
> \doifdocumentargument {language}
>    {\mainlanguage[\getdocumentargument{language}]}

Many thanks for the info, Wolfgang.

I see that literally anything goes:

  \doifdocumentargument{anything}
    {\mainlanguage[\getdocumentargument{anything}]}

Many thanks for your help,

Pablo


More information about the ntg-context mailing list