25 Aug
2013
25 Aug
'13
7:21 p.m.
Am 25.08.2013 um 21:09 schrieb Marco Patzer
On 2013–08–25 Wolfgang Schuster wrote:
The \starttexdefintion command looks for the “unexpanded” keyword only when you apply also a argument but not when the arguments are missing, i.e.
Thanks for the explanation. Is that a bug or expected behaviour? I think it's odd that
\unexpanded\def\foo{}
and
\starttexdefintion unexpanded foo \stoptexdefinition
don't behave the same.
In the original definition of \starttexdefintion the only possible way to use it was \starttexdefinition mycommand #1#2 where you needed a argument, later a form without parameters was added. The “unexpanded” keyword came on another step and it’s possible Hans forgot it in the simple form without parameters. Wolfgang