Skip to content
Snippets Groups Projects
Commit b329c404 authored by Rolf Niepraschk's avatar Rolf Niepraschk
Browse files

...

parent 5c25d0cc
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ def latex_compile(filename, num=1, compiler='pdflatex'): ...@@ -12,7 +12,7 @@ def latex_compile(filename, num=1, compiler='pdflatex'):
i = num i = num
r = -1 r = -1
while i > 0: while i > 0:
output = subprocess.run([TEX_COMPILER, filename], stdout=subprocess.DEVNULL) output = subprocess.run([compiler, filename], stdout=subprocess.DEVNULL)
r = output.returncode r = output.returncode
if r != 0: if r != 0:
break break
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment