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

Paul Vojta vojta at math.berkeley.edu
Tue Jun 30 20:42:03 CEST 2020


Would it be better to add \relax instead of a space token?

Paul Vojta


On Tue, Jun 30, 2020 at 05:08:32PM +0800, 胡亚捷 (Hu Yajie) wrote:
> 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
> 


More information about the tex-k mailing list.