URL:
<https://puszcza.gnu.org.ua/bugs/?659>
Summary: latest update of tex4ht gives DOM filter errors on
bibliography
Project: tex4ht
Submitted by: nma123
Submitted on: Sat Jul 5 08:10:15 2025
Category: None
Priority: 5 - Normal
Severity: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Reference and screen shots at
<https://tex.stackexchange.com/questions/747278/latest-update-of-tex4ht-gives-dom-filter-errors-on-thebibliography>
I noticed after updating texlive about a week or so ago, I started seeing
domfilter error which were not there before.
After some debugging, it turns out they come when adding
\begin{thebibliography}{1}.
Here is a MWE. Using TL 2025, updated today. This file compiles with no errors
in lualatex
-------------------------
\documentclass[12pt]{book}%
\begin{document}
\part{Second and higher order differential equations}
\chapter{Implemenation details for kovacic algorithm}
\begin{thebibliography}{1}
\bibitem{Kovacic86}
Jerald J. Kovacic.
\newblock An Algorithm for Solving Second Order Linear Homogeneous
Differential Equations.
\newblock {\em J. Symb. Comput.}, 2(1):3--43, 1986.
%
\bibitem{Smith84}
Carolyn J. Smith.
\newblock A DISCUSSION AND IMPLEMENTATION OF KOVACICS ALGORITHM FOR ORDINARY
DIFFERENTIAL EQUATIONS.
\newblock {\em Research Report CS-84-35}, October 1984.
%
\bibitem{Saunders}
B. David Saunders.
\newblock An Implementation of Kovacic's Algorithm for Solving Second Order
Linear Homogeneous Differential Equations.
\newblock {\em Proceedings of the 1981 ACM Symposium on Symbolic and Algebraic
Computation}, 1981.
%
\end{thebibliography}
\end{document}
-------------------
Compiled using
make4ht -ulm default -a debug index.tex 'mathjax,htm,6'
Gives
----------------------------------
..
[INFO] make4ht-lib: parse_lg process file: inch1.htm
[WARNING] domfilter: XML DOM parsing of inch1.htm failed:
[WARNING] domfilter:
...ive/2025/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced
Tag (/body) [char=1240]
[DEBUG] domfilter: Error context:
tm#inch1.htm" >up</a>] </p></div>
<!--l. 6--><p class="indent" > <a
id="tailinch1.htm"></a> </p>
</body>
</html>
[DEBUG] domfilter: Trying HTML DOM parsing
[WARNING] domfilter: HTML DOM parsing OK, DOM filters will be executed
[INFO] make4ht-lib: parse_lg process file: inch1.htm
[INFO] make4ht: No output directory
[INFO] make4ht-lib: parse_lg process file: inli1.htm
[INFO] make4ht-lib: parse_lg process file: inli1.htm
[WARNING] domfilter: XML DOM parsing of inli1.htm failed:
[WARNING] domfilter:
...ive/2025/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced
Tag (/section) [char=1714]
[DEBUG] domfilter: Error context:
m on Symbolic and Algebraic</span>
<span
class="ec-lmri-12">Computation</span>, 1981.</dd></dl>
</section>
<!--l. 25--><div class="crosslinks"><p class="noindent">[<a
href="inch1.htm" >prev</a
[DEBUG] domfilter: Trying HTML DOM parsing
[WARNING] domfilter: HTML DOM parsing OK, DOM filters will be executed
[INFO] make4ht-lib: parse_lg process file: inli1.htm
...
--------------------------
lualatex index.tex gives no warnings and no errors.
Do I need to change something in my input latex file to handle this input
different than what I am doing now?
>which make4ht
/usr/local/texlive/2025/bin/x86_64-linux/make4ht
>make4ht --version
make4ht version v0.4d
>which lualatex
/usr/local/texlive/2025/bin/x86_64-linux/lualatex
>
Thanks
--Nasser
_______________________________________________________
Reply to this item at: <https://puszcza.gnu.org.ua/bugs/?659>
_______________________________________________
Message sent via/by Puszcza <https://puszcza.gnu.org.ua/>