[tex-k] Bug report for the 2029 TeX tune-up - Error-message is expected but the text of the error-message is incorrect

Karl Berry karl at freefriends.org
Sun Jun 20 00:48:47 CEST 2021


Hi Ulrich,

       \endinput\edef\foobar{\input FileA.tex }%
       ...
       ! File ended while scanning definition of \foobar.

Well, reading of a file did in fact end (because of the \endinput).  As
you know, that is how \endinput works, as you and Donald A and others
discussed at length in the prior tex.sx post
https://tex.stackexchange.com/questions/554770.

TeX's hardwired error messages can't consider every conceivable
situation.  So I don't see an actual error here.

At any rate, as Knuth has said, any complex system can be improved
forever (in this case, with more ever-more-precise error messages).
He will not look at such asymptotic improvements.

Therefore I attempted to write this up at
  https://tug.org/texmfbug/nobug.html#endinput

Best,
Karl


More information about the tex-k mailing list.