[tex4ht] With LaTeX 2020-10-01, "\," causes endless loop
muzimuzhi z
muzimuzhi at gmail.com
Sat Oct 3 17:01:12 CEST 2020
Hi maintainer(s) of tex4ht,
With LaTeX 2020-10-01, tex4ht raises error
TeX capacity exceeded, sorry [input stack size=5000].
with the following simple example:
\documentclass{article}
\begin{document}
\,
\end{document}
In LaTeX 2020-10-01, definitions of eleven spacing commands are
updated/added, see
https://github.com/latex3/latex2e/issues/303
What is relevant is, "\thinspace" is now let to "\,". But the current
definition of "\,<space>" in latex.4ht (generated from tex4ht-4ht.tex) uses
"\thinspace",
\def\:tempc{\relax\ifmmode\csname a:,\endcsname\else\thinspace\fi}
\expandafter\HLet\csname , \endcsname=\:tempc
Therefore user input "\," now causes endless loop
"\," -> "\,<space>" -> "\thinspace" -> "\,<space>" -> loop
and raises the error "TeX capacity exceeded".
regards,
Yukai
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/tex4ht/attachments/20201003/a34de902/attachment.html>
More information about the tex4ht
mailing list.