[tex-k] Is this a bug or just an inconsistency?

Doug McKenna doug at mathemaesthetics.com
Sat Mar 7 00:51:30 CET 2020


Karl -

Yes, I think that answers the question (i.e., it's my misunderstanding).

So it's treating |\endcsname| as a delimiting matching token for the macro's (non) argument collection.

Ah, TeX.  It's amazing how one can write TeX code that seems to make complete sense, yet have it mean something entirely different.


Thanks!

- Doug McK.

----- Original Message -----
From: "Karl Berry" <karl at freefriends.org>
To: "doug" <doug at mathemaesthetics.com>
Cc: "tex-k" <tex-k at tug.org>
Sent: Friday, March 6, 2020 4:18:42 PM
Subject: Re: [tex-k] Is this a bug or just an inconsistency?

\def\csname\endcsname{FOOBAR}

Do you mean
\expandafter\def\csname\endcsname{FOOBAR}
? I think the above is redefining \csname, not the null CS.


More information about the tex-k mailing list.