vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
982 stars 118 forks source link

doc: missing space after LaTeX commands #489

Closed tueda closed 2 months ago

tueda commented 3 months ago

In the manual, there are currently some places where the macro \FORM is used without the subsequent {} or \, leading to improperly rendered text due to missing spaces.

Example: https://github.com/vermaseren/form/blob/9637b9a8ba584fa9b10fef38b0939972e13357f6/doc/manual/prepro.tex#L1235

Rendered as: image

It is well known that space after LaTeX commands are ignored, Indeed, the TeXbook says

When a space comes after a control word (an all-letter control sequence), it is ignored by \TeX; i.e., it is not considered to be a ``real'' space belonging to the manuscript that is being typeset.

Knuth uses \TeX\ in the TeXbook (I prefer \FORM{} to \FORM\, but either is OK).

tueda commented 3 months ago

For reference: here is the log (caution: more than 10k lines) of the output from running chktex *.tex in the doc/manual directory (ChkTeX v1.7.6, 19965c9). Some of the results are false positives, but there are also useful warnings.