There are many questions on \includesvg
already, so
yes, I have added
--shell-escape
tolatexmk
,lualatexmk
andpdflatex
in.vscode\settings.json
.Alternatively I have also put
set_tex_cmds( '--shell-escape %O %S' );
in my.latexmkrc
file.yes, I have Inkscape in my
%PATH%
and I have restarted VS Code. In the VS Code terminal I get> inkscape --version Inkscape 1.0.2-2 (e86c870879, 2021-01-15) Pango version: 1.48.2
yes, I am not using an extension in
\includesvg{xxx}
.
Still, my \includesvg
fails. The LaTeX compiler output says
Warning: Option --without-gui= is deprecated
Warning: Option --file= is deprecated
Warning: Option --export-pdf= is deprecated
Unknown Option -z
And somewhere in the log file I find similar stuff:
runsystem(inkscape -z -D --export-latex --file="img/xxx.svg" --export-pdf="xxx_svg-tex.pdf" )...executed.
It seems to me as if I should change how runcommand()
calls Inkscape. Where would I do that?