From 7e175fee1e7e40fcf4127a6243804093fa80f87e Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Mon, 9 Oct 2023 20:18:35 +0200 Subject: [PATCH] don't use latexmk --- rendercv/rendering.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/rendercv/rendering.py b/rendercv/rendering.py index 8702005..4b03ae6 100644 --- a/rendercv/rendering.py +++ b/rendercv/rendering.py @@ -372,7 +372,7 @@ def run_latex(latex_file_path): "bin", "windows", ) - executable = os.path.join(tinytex_path, "latexmk.exe") + executable = os.path.join(tinytex_path, "lualatex.exe") else: tinytex_path = os.path.join( @@ -382,16 +382,12 @@ def run_latex(latex_file_path): "bin", "x86_64-linux", ) - executable = os.path.join(tinytex_path, "latexmk") + executable = os.path.join(tinytex_path, "lualatex") subprocess.run( [ executable, - "-lualatex", f"{latex_file}", - "-synctex=1", - "-interaction=nonstopmode", - "-file-line-error", ], cwd=os.path.dirname(latex_file_path), stdout=subprocess.DEVNULL, # suppress latexmk output