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

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Aug 25 20:56:26 CEST 2013


Am 25.08.2013 um 19:40 schrieb Marco Patzer <lists at homerow.info>:

> Hi,
> 
> the following example produces an “Undefined control sequence”
> error. If \def is used instead of \starttexdefinition then there is
> no error. Why?

The \starttexdefintion command looks for the “unexpanded” keyword
only when you apply also a argument but not when the arguments
are missing, i.e.

\starttexdefintion unexpanded mycommand #1#2
…
\stoptexdefinition

works but

\starttexdefintion unexpanded mycommand
…
\stoptexdefinition

doesn’t.

Wolfgang


More information about the ntg-context mailing list