Browse Source

enable shell commands for \includesvg to run inkscape

Fabian Peter Hammerle 3 years ago
parent
commit
3aeae8f03b
1 changed files with 4 additions and 0 deletions
  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";