[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 18:01:11 CET 2022

Found the problem.  MWE


Here is the animation from the Maple notebook:

   <IMG SRC="movies/movie.gif" ALT="some text" WIDTH=750>


>make4ht -ulm default -a warning  maple.tex 'mathjax,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=746]

So it was the above `\HCode{...} code. Even though it works and
the the gif file plays OK in the HTML as can be seen at


(search for the string "Here is the animation" on the page to see it)

But DOM parsor does not like the HTML above. What is wrong with it?


More information about the tex4ht mailing list.