[tex-k] Suggestions about exercises 22.10 and 21.10 in TeXbook
Igor Liferenko
igor.liferenko at gmail.com
Fri Nov 15 08:48:47 CET 2019
Hi, all
1)
According to definition of preamble on p.235,
\cr is part of preamble. So, in exercise
22.10 the text
\halign{<preamble>\cr
should be changed to
\halign{<preamble>
This agrees with the answer, where \cr is used.
In current state, after substituting the answer,
the code will contain \cr\cr.
2)
This is the answer to exercise 21.10:
{\let\the=0\edef\next{\write\cont{<token list>}}\next} will
expand everything but \the when the \write command is given.
Although I understand the idea, the wording seems not apt.
I understand this something as this:
\write will be executed after \edef expands everything
except \the.
But maybe I misunderstand something.
Regards,
Igor
More information about the tex-k
mailing list