On Wed, 23 May 2018 17:54:39 +0200, Henning Hraban Ramm
Date: Wed, 23 May 2018 17:54:39 +0200 From: Henning Hraban Ramm
To: mailing list for ConTeXt users Subject: Re: [NTG-context] Defining command with optional and mandatory arguments Message-ID: Content-Type: text/plain; charset=windows-1252 Am 2018-05-23 um 16:01 schrieb Hans Hagen
: 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 ;)
Thank you Hraban for pointing me to the wiki. I was aware of this page but it contains only the case of mandatory arguments in curly braces {} not in brackets []. Cheers, Christoph