[tex-k] bugs in macros suggested in The TeXbook

Tue Jun 30 11:08:32 CEST 2020

Page A375, lines 6--7
Change
\def\kslant#1{\kern\expandafter\getfactor\the\fontdimen1#1\ht0}
to
\def\kslant#1{\kern\expandafter\getfactor\the\fontdimen1#1\ht0 }
since this macro is likely to be used in the midst of a paragraph.

Page A407, line -5
Change \def\par{\endgraf\penalty5000}' to \def\par{\endgraf\penalty5000 }'!

The answer to exercise 4.3 may have the same bug, though less likely to occur.

----

Previous reports:
https://github.com/dine2014/texbook-mfbook-bugs/blob/master/bugs.md