[NTG-context] prevent gobbling of spaces when omitting optional argument

Florian Wobbe Florian.Wobbe at awi.de
Fri Jan 28 23:24:19 CET 2011


please consider the following minimal example:


\before[] after (should be: \before[]\ after without explicit \type{\ })\par
\before[][] after\par % this works

How can I prevent gobbling the following space, when the second optional argument is not given (i.e. first line). The macro itself should not insert space if the command is followed by any other character (2nd and 4th line).


More information about the ntg-context mailing list