浏览代码

enable shell commands for \includesvg to run inkscape

Fabian Peter Hammerle 4 年之前
父节点
当前提交
3aeae8f03b
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      latexmkrc

+ 4 - 0
latexmkrc

@@ -1,3 +1,7 @@
 $out_dir = 'latex-build';
+
+# > Package svg Warning: You didn't enable `shell escape' (or `write18') so it wasn't possible to launch the Inkscape export [...]
+$pdflatex = "pdflatex -shell-escape %O %S";
+
 $pdf_mode = 1;  # tex -> pdf via pdflatex
 $pdf_previewer = "start zathura";