Weave Error: Could not spawn pandoc_header.txt

Hi everyone,

I’ve copied and pasted the example from

https://syl1.gitbook.io/julia-language-a-concise-tutorial/useful-packages/14-weave

and compiling it with

using Weave; weave("testWeave.jmd", out_path = :pwd, doctype = "pandoc2pdf")

gives the following error:

ERROR: IOError: could not spawn `pandoc -f markdown+raw_tex -s --pdf-engine=xelatex --highlight-style=tango --filter pandoc-citeproc '--include-in-header=C:\Users\aaron\.julia\packages\Weave\L0NNS\src\../templates/pandoc_header.txt' -V fontsize=12pt -o testWeave.pdf`: no such file or directory (ENOENT)

Please advise.

Do you have pandoc installed ?

Yes, I do. I just use md2pdf instead for now.

But pandoc2pdf doesn’t work.