Skip to content

pandoc-argmap.lua: .png outputs aren't added to same folder as html output, leading to missing image. #20

Description

@s6mike

When using VSCode pandoc extensions to create a pandoc preview, the html output is added to the same folder as the source .md (usually Input folder), but the png version of the argmap is not, leading to a missing image.

It's not known where the png is created. The relevant code is probably CodeBlock call to argmap2image function.

Think it's this line: os.execute("lualatex -output-directory " .. tmpdir .. " " .. tmp .. ".tex")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions