<div dir="ltr"><div>Hi maintainer(s) of tex4ht,</div><div><br></div><div>With LaTeX 2020-10-01, tex4ht raises error<br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>TeX capacity exceeded, sorry [input stack size=5000].</div></blockquote><div>with the following simple example:</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>\documentclass{article}</div><div>\begin{document}</div><div>\,</div><div>\end{document}</div></blockquote><br><div>In LaTeX 2020-10-01, definitions of eleven spacing commands are updated/added, see</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><a href="https://github.com/latex3/latex2e/issues/303">https://github.com/latex3/latex2e/issues/303</a></div></blockquote><div>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",</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>\def\:tempc{\relax\ifmmode\csname a:,\endcsname\else\thinspace\fi}</div><div>\expandafter\HLet\csname , \endcsname=\:tempc</div></blockquote><div>Therefore user input "\," now causes endless loop</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>"\," -> "\,<space>" -> "\thinspace" -> "\,<space>" -> loop</div></blockquote><div>and raises the error "TeX capacity exceeded".</div><div><br></div><div>regards,</div><div>Yukai</div></div>