Skip to content

Commit

Permalink
feat: added standard pdflatex flags
Browse files Browse the repository at this point in the history
  • Loading branch information
cmeesters committed Apr 11, 2024
1 parent 351e193 commit 9bf7d0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion render
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def get_pdf_name(filename):
def run_pdflatex(fname="out.tex", path="."):
outdir = os.path.realpath(os.path.join(os.getcwd(), "slides"))

subprocess.call(["pdflatex", fname], cwd=path)
subprocess.call(["pdflatex", "-synctex=1", "-interaction=nonstopmode", fname], cwd=path)
pdfname = get_pdf_name(fname)
shutil.copy(os.path.join(path, pdfname), os.path.join(outdir, pdfname))

Expand Down

0 comments on commit 9bf7d0e

Please # to comment.