diff --git a/pytex/pytex.py b/pytex/pytex.py index 0ae173a..f20e204 100644 --- a/pytex/pytex.py +++ b/pytex/pytex.py @@ -79,6 +79,7 @@ def pdflatex(latex_file, output_dir=""): # f"-output-directory={output_dir}", # "-halt-on-error", "-interaction=nonstopmode", + "-shell-escape", str(Path(latex_file).name), ], stdout=subprocess.PIPE,