Open likanzhan opened 4 years ago
Yeah, I found out_path
option is currently just specifying the output directory; we need to modify:
This bug has broken the Weave implementation in the VS Code Julia extension (see https://github.com/julia-vscode/julia-vscode/issues/1683#issuecomment-788898402). I had a quick look in the code, and it would be a simple case of modifying https://github.com/JunoLab/Weave.jl/blob/b5ba227e757520f389a6d6e0f2cacb731eab8b12/src/Weave.jl#L247 to give the proper out_path
.
But I am not sure if this breaks existing behavior that relies on this bug. Do you guys want me to create a PR?
Yes please. Worst case we could release this as a new major version, but I don't think that'll be necessary.
Is it possible to rename the weaved file when using the
weave
function? Suppose my original file is a plainindex.md
file, and I want to render it into aZZZ.tex
file, usingweave
. I've tried to achieved this via theout_path
option, i.e.,out_path = ZZZ.tex
, but it doesn't work. Any suggestions?