Add -shell-escape option to pdflatex
This commit is contained in:
parent
3de627fd1d
commit
da8c9479c2
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user