Weave.jl
Weave.jl copied to clipboard
undo regression in pre-2.0 pandoc support
As mentioned in #146, there are a lot of earlier versions of pandoc out there (e.g. the version on Travis is 1.12 AFAIK). This PR adds support back pre-2.0 pandoc support that was eliminated in https://github.com/mpastell/Weave.jl/commit/4cd0b92792e219cb77a42d1a74000234f00b5880.
Coverage decreased (-0.2%) to 87.115% when pulling 1b7fcad42c974921263b844067274921f2ddd689 on tlnagy:tn/unbreak-pandoc-pre2.0-support into bf57bf8a0717b035afeb030799beb763113a2c2f on mpastell:master.
Bump @mpastell
Thanks and sorry for leaving this hanging for so long. There are other changes (unfortunately I haven't kept a log of problems I've run into) in pandoc 2.0, at least the same change should apply also to the html output.
I'm not sure if I understand. This PR fixes the renaming of the --latex-engine
flag to --pdf-engine
which should only be invoked when generating a PDF?
bump @mpastell. Can I go ahead and merge this small PR adding back PDF support for pandoc <2.0? I think handling edge cases of pandoc 2.0 is a much bigger PR, but I need this to use Weave.jl
at all.
Sorry, I looked through it too quickly. Does the format markdown+raw_tex
work with pandoc 1.x? I thought it was added in 2.0