[tex4ht] WARNING] domfilter: ...ive/2022/texmf-dist/tex/luatex/luaxml/luaxml-mod-xml.lua:175: Unbalanced Tag (/p) [char=530977]
Michal Hoftich
michal.h21 at gmail.com
Thu Dec 8 22:53:27 CET 2022
Hi Nasser,
it is caused by the <IMG> tag. LuaXML needs well formed XML, so you
need to close tags such as <IMG> or <META>. It actually supports
unclosed <img>, it doesn't support the uppercase version. So you can
use this instead:
<IMG SRC="movies/movie.gif" ALT="some text" WIDTH=750 />
or
<img SRC="movies/movie.gif" ALT="some text" WIDTH=750 >
I've also added support for uppercase void elements to LuaXML DOM
object, so it should work in the future.
Best regards,
Michal
> ----------------
> \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}
More information about the tex4ht
mailing list.