\getdocumentargument{...}

\getdocumentargumentdefault{...}{<default value>}

Wolfgang


Hans van der Meer schrieb am 08.09.18 um 15:23:
I seem to remember (from a galaxy far far away) that it was possible to pick up the parameters from the mtxrun call that sets ConTeXt typesetting in motion. For example doing 
mtxrun —mymode=something
and then in the program retrieving that something.
Will someone enlighten me?

dr. Hans van der Meer




___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________