summaryrefslogtreecommitdiff
path: root/run_latex.py
diff options
context:
space:
mode:
Diffstat (limited to 'run_latex.py')
-rw-r--r--run_latex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_latex.py b/run_latex.py
index 9f4b75e..32b44cf 100644
--- a/run_latex.py
+++ b/run_latex.py
@@ -21,7 +21,7 @@ import shutil
import subprocess
import sys
-texlive, latexrun, job_name, main_file, output_file = sys.argv[1:6]
+texlive, latexrun, compiler, job_name, main_file, output_file = sys.argv[1:7]
sources = sys.argv[6:]
if output_file == "--":
run_after = sources[sources.index("--"):][1:]
@@ -48,7 +48,7 @@ return_code = subprocess.call(
"python3",
latexrun,
"--latex-args=-jobname=" + job_name,
- "--latex-cmd=pdflatex",
+ "--latex-cmd=" + compiler,
"--bibtex-cmd=bibtex",
"-Wall",
main_file,
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback