[tex4ht] WARNING] domfilter: ...ive/2022/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag (/p) [char=530977]

Nasser M. Abbasi nma at 12000.org
Thu Dec 8 10:05:17 CET 2022


I get this warning

INFO]    make4ht-lib: executing: t4ht  "maple.dvi"
t4ht.c (2018-07-04-14:25 kpathsea)
t4ht maple.dvi
Entering maple.lg
Entering maple.css
Entering maple.tmp

[INFO]    mkutils: Parse LG
[INFO]    make4ht-lib: parse_lg process file: maple.htm
[INFO]    make4ht-lib: parse_lg process file: maple.htm
[WARNING] domfilter: DOM parsing of maple.htm failed:
[WARNING] domfilter: ...ive/2022/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag (/p) [char=530977]

[INFO]    make4ht-lib: parse_lg process file: maple.htm


When compiling a document. The command I used is (all on one line)

make4ht --shell-escape -ulm default -a debug -c nma_mathjax.cfg
   -e /mnt/g/public_html/styles/texmf/tex/latex/tex4ht_build_files/MAIN.mk4 maple.tex
   'mathjax,htm,fn-in,0,notoc*,p-width,charset=utf-8,cut-fullname' '-cunihtf -utf8'

But the HTML file generated is the following


Is there a tool to run DOM parsing directly on the above HTML file
to show which line make4ht complains about?

The Latex file can be found at


And the log file at


I can make a zip file that contains everything needed to build it if needed?

TL 2022 on Linux.


More information about the tex4ht mailing list.