Skip to content

--graphicsmap is not respected if destination file of different format already exists #901

@bfirsh

Description

@bfirsh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions