Open tlnagy opened 6 years ago
It looks like this was changed in https://github.com/mpastell/Weave.jl/commit/4cd0b92792e219cb77a42d1a74000234f00b5880. I think a workable solution would be to attempt to use --pdf-engine
first and if that fails use --latex-engine
as an option. There are lots of systems that are still using pandoc <2.0 out there so it would be shame to drop support for all of them due to a small flag change.
The latest version of pandoc on Ubuntu 18.04 LTS is pandoc 1.19.2.4 and PDF generation fails on Julia 1.0 with Weave 0.6.2 because pandoc 1.19 still has
--latex-engine
as the option instead of--pdf-engine
. Any chance that this can be supported as a backup?Interestingly, this code runs on Julia 0.6.x with
Weave 0.5.2