Given a basic document with \includegraphics pointing at a PDF:
$ latexml --format=html5 --dest=dest/index.html input/main.tex
LaTeXML will convert the PDF to PNG and reference it as expected. Now, when I run this without deleting the destination directory:
$ latexml --format=html5 --graphicsmap pdf.svg --dest=dest/index.html input/main.tex
I expect it to convert the PDF to SVG and reference that. Instead, the destination file will still reference the PNG.
Presumably there is some sort of mechanism that checks if the graphic has already been converted, but it is not being invalidated by a different --graphicsmap option.
Given a basic document with
\includegraphicspointing at a PDF:LaTeXML will convert the PDF to PNG and reference it as expected. Now, when I run this without deleting the destination directory:
I expect it to convert the PDF to SVG and reference that. Instead, the destination file will still reference the PNG.
Presumably there is some sort of mechanism that checks if the graphic has already been converted, but it is not being invalidated by a different
--graphicsmapoption.