Skip to content

Commit

Permalink
don't use latexmk
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaatalay committed Oct 9, 2023
1 parent f0aa056 commit d968c43
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions rendercv/rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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
Expand Down
Binary file removed rendercv/vendor/TinyTeX/bin/windows/latexmk.exe
Binary file not shown.

0 comments on commit d968c43

Please sign in to comment.