[tex-k] glaring error in Chapter 23 of The TeXbook

胡亚捷 (Hu Yajie) 2500418497 at qq.com
Fri Dec 25 05:19:22 CET 2020

The TeXbook, page 252, line 6 says that you can customize TeX's output routine
by ``redefining the control sequences \headline and \footline''. But \headline
and \footline are token list registers, not macros. You are supposed to change
their content, not to redefine them with \def (which messes plain TeX's output
routine), \toksdef or \newtoks (which wastes allocation space).


Previous reports:

More information about the tex-k mailing list.