Hello;

I am not able to find why tex4ht gives this warning

-------------------
[WARNING] domfilter: XML DOM parsing of index.htm failed:
[WARNING] domfilter: 
...ive/2024/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag 
(/div) [char=10537]

[DEBUG]   domfilter: Error context:
x-10">end</span> <span
class="ec-lmbx-10">function</span></span>
<!--l. 79--><p class="noindent" ></div>
</p>
</body>
</html>
-------------------------

Made a MWE. I am using TL 2024 on linux

which lualatex
/usr/local/texlive/2024/bin/x86_64-linux/lualatex
which make4ht
/usr/local/texlive/2024/bin/x86_64-linux/make4ht

Updated about 2-3 months ago.

The command I use is

make4ht -ulm default -a debug index.tex 'mathjax,htm'

The file has only this

------------------------
\documentclass{article}%
\usepackage{amsmath}
\usepackage{algpseudocode,algorithmicx}
\usepackage{algorithm}

\begin{document}

        \begin{algorithmic}[0]
        ...
        \end{algorithmic}

\end{document}
---------------------------

I've put the file and the log generated in this folder (safe)

https://12000.org/tmp/tex4ht_dom_error_april_9_2025/

Any idea what causes this?

It compiles with no problem using lualatex

Thanks
--Nasser

Reply via email to