Add -shell-escape option to pdflatex

This commit is contained in:
Benjamin Bertrand 2017-04-25 12:07:19 +03:00
parent 3de627fd1d
commit da8c9479c2

View File

@ -79,6 +79,7 @@ def pdflatex(latex_file, output_dir=""):
# f"-output-directory={output_dir}", # f"-output-directory={output_dir}",
# "-halt-on-error", # "-halt-on-error",
"-interaction=nonstopmode", "-interaction=nonstopmode",
"-shell-escape",
str(Path(latex_file).name), str(Path(latex_file).name),
], ],
stdout=subprocess.PIPE, stdout=subprocess.PIPE,