JunoLab / Weave.jl

Scientific reports/literate programming for Julia
http://weavejl.mpastell.com
MIT License
823 stars 94 forks source link

Error converting document to pdf #430

Closed Marco-Congedo closed 3 years ago

Marco-Congedo commented 3 years ago

Hello,

I just installed Weave.jl and MikTex on Windows 10 and I ran the example FIR_design.jl. The html output goes smoothly. For the pdf output I added to Julia the path where the executable xelatex.exe is. The .tex file is generated, however, its coversion to pdf gives me the following error:

┌ Warning: Error converting document to pdf. Try running latex manually
└ @ Weave C:\Users\congedom\.julia\packages\Weave\lQPaO\src\writer\latex.jl:12
ERROR: IOError: could not spawn `xelatex -shell-escape -halt-on-error FIR_design.tex`: no such file or directory (ENOENT)

What am i doing wrong?

Marco-Congedo commented 3 years ago

it's working now. I was not closing the old pdf output before weaving again...