[tex-k] Wrong \spacefactor after quote which ends in period in TeXbook

Igor Liferenko igor.liferenko at gmail.com
Fri Aug 7 10:03:32 CEST 2020


Hi,

In the following line from texbook.tex is missing \null before right quote:

    When a phrase like `\TeX\ ignores spaces after control words.' is

because the period here is not sentence-ending full stop and
in PlainTeX is done \sfcode`\.3000 and \sfcode`\'=0.

Alternatively, the following fix may be used:

    When a phrase like `\TeX\ ignores spaces after control words.'\ is

(i.e., make the space after right quote a control-space)

There is a bunch of the same errors in texbook.tex and maybe elsewhere...

On the contrary, in the following line from texbook.tex the \null is redundant:

    that do end with uppercase letters (e.g., `$\ldots$ launched by
NASA.\null' or

because A has \sfcode 999 and after the period it becomes 1000 and \null changes
nothing.

Regards,
Igor


More information about the tex-k mailing list.