s6mike / argmap

Tools for visualising argument maps represented in YAML - combining 2 forked repos with additional bugfixes and customisation.
https://argview.org/
Other
4 stars 1 forks source link

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

Open s6mike opened 2 years ago

s6mike commented 2 years ago

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")

s6mike commented 2 years ago

pandoc-fix 3.3.0 commit fcac942c27c367135cce495274e91c516246c0ee