[NTG-context] Defining command with optional and mandatory arguments

Henning Hraban Ramm texml at fiee.net
Wed May 23 17:54:39 CEST 2018


Am 2018-05-23 um 16:01 schrieb Hans Hagen <j.hagen at xs4all.nl>:

> On 5/23/2018 3:39 PM, Christoph Reller wrote:
>> Hi,
>> What is the right way to define a command with both mandatory and
>> optional arguments, e.g:
> i'm not sure wht happens at your end but this is the best way:

Also, there’s documentation at
http://wiki.contextgarden.net/Commands_with_optional_arguments

If there’s something wrong, please fix it yourself or come back to this list ;)


Greetlings, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD



More information about the ntg-context mailing list