Found the problem.  MWE

----------------
\documentclass[12pt,titlepage]{article}
\begin{document}

\ifdefined\HCode
Here is the animation from the Maple notebook:

\ScriptEnv{html}
   {\NoFonts\hfill\break}
   {\EndNoFonts}
\HCode{
  <IMG SRC="movies/movie.gif" ALT="some text" WIDTH=750>
  }
\fi

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

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

https://12000.org/my_notes/faq/MAPLE/maple.htm

(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?

--Nasser








Reply via email to