10 Dec
2013
10 Dec
'13
9:03 p.m.
On Tue, Dec 10 2013, Wolfgang Schuster wrote:
One way to set values is the \getparameters command but the disadvantage of this is that you to ensure not to call values (e.g. \testthree) which aren’t set (e.g. not “three={…}” setting for the \test command).
You can preset the values: \getparameters[test][one=, two=my default 2, three=, #1]
\def\test {\dosingleargument\dotest}
Wouldn't it be better (for users who don't know the source by heart), to use camelcase names (for example "\Test"), to avoid clashes with internal ConTeXt macros? -- Peter