[tex-k] bugs in The TeXbook and typographical errors in The METAFONTbook
胡亚捷 (Hu Yajie)
2500418497 at qq.com
Sat Jul 11 05:00:13 CEST 2020
Page A420, line 11
Change
\def\bull{\vrule height .9ex width .8ex depth -.1ex } % square bullet
to
\def\bull{\vrule height .9ex width .8ex depth -.1ex\relax} % square bullet
or you get the same problem J. H. Quick encountered in exercise 27.4:
! Missing number, treated as zero.
<to be read again>
e
<*> \bull heighte
ning tensions
?
Page A423, lines 15--16
The definition of \marginstyle has the same problem if you say ^{heightening}:
\def\marginstyle{\sevenrm % marginal notes are in 7-point type
\vrule height6pt depth2pt width0pt } % a strut for \insert\margin
But the real definition in manmac.tex avoids it by reordering the commands:
\def\marginstyle{\vrule height6pt depth2pt width\z@ \sevenrm}
Page C175, lines 21, 26, and 27 & page C177, line 19
Change "=\ldots" to "=\cdots"? [The MFbook violates The TeXbook's advice in
many ways, such as using \ldots after =, and using \cdots after commas on
e.g. lines 12--13 on page 307. I hope Knuth can do a comprehensive check
if he decides to fix them.]
Page C210, line -1
Change "/<numeric token>'>" to "/ <numeric token>' >" by inserting thinspaces
(cf. page C72, line 18).
Page C317, line 16
There is too much space between "," and "skipto". A look at mfbook.tex reveals
that Knuth typed a space there:
<optional skip>\is[,] [skipto]<code>\alt<empty>
Other instances of adjacent tokens are simply typed adjacent like
\alt[else][:]<conditional text>
and there are only two thinspaces between them in the output.
----
Earlier reports:
https://github.com/dine2014/texbook-mfbook-bugs/blob/master/bugs.md
More information about the tex-k
mailing list.