[NTG-context] defining (new) macros with optional arguments

2008-09-10 Thread Goebel, Juergen
Hi, Does something like \newcommand exist in ConTeXt? My questions aims especially at the optional argument with a predefined value. So, how do I realize \newcommand{\test}[2][A]{foo} with ConTeXt. In the fine manual I found an index entry \definecommand, but in the 'rest' of the manual it

Re: [NTG-context] defining (new) macros with optional arguments

2008-09-10 Thread Thomas A. Schmitz
On Sep 10, 2008, at 11:54 AM, Goebel, Juergen wrote: Hi, Does something like \newcommand exist in ConTeXt? My questions aims especially at the optional argument with a predefined value. So, how do I realize \newcommand{\test}[2][A]{foo} with ConTeXt. In the fine manual I found an index

Re: [NTG-context] defining (new) macros with optional arguments

2008-09-10 Thread Wolfgang Schuster
On Wed, Sep 10, 2008 at 12:26 PM, Thomas A. Schmitz [EMAIL PROTECTED] wrote: On Sep 10, 2008, at 11:54 AM, Goebel, Juergen wrote: Hi, Does something like \newcommand exist in ConTeXt? My questions aims especially at the optional argument with a predefined value. So, how do I realize