[NTG-context] Unexpanded texdefinition produces “Undefined control sequence”

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Aug 25 21:21:07 CEST 2013


Am 25.08.2013 um 21:09 schrieb Marco Patzer <lists at homerow.info>:

> 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


More information about the ntg-context mailing list