vermaseren / form

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

[LaTeX2HTML] collapsed equations in documentation of Ratio #438

Closed tueda closed 1 year ago

tueda commented 1 year ago

The documentation of the Ratio statement in the online reference manual, generated by LaTeX2HTML, contains collapsed equations:

image

It seems that LaTeX2HTML cannot correctly parse the non-standard way of defining $\TeX$ macros:

https://github.com/vermaseren/form/blob/741861aef8c7fa81bfddf4eab67f3f2cf4ccf53b/doc/manual/online.tex#L36-L38

Note that a more standard way in $\TeX$:

\def\sign#1{ ... }
\def\binom#1#2{ ... }

or in $\LaTeX$,

\newcommand{\sign}[1]{ ... }
\newcommand{\binom}[2]{ ... }

should work. The \binom command is also available in the amsmath package, which gives better typesetting than this implementation.