mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Only use -no-pdf for xelatex rendering (#2298)
This commit is contained in:
parent
24eefef5bf
commit
7a7bf83f11
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ def full_tex_to_svg(full_tex: str, compiler: str = "latex", message: str = ""):
|
|||
process = subprocess.run(
|
||||
[
|
||||
compiler,
|
||||
"-no-pdf",
|
||||
*(['-no-pdf'] if compiler == "xelatex" else []),
|
||||
"-interaction=batchmode",
|
||||
"-halt-on-error",
|
||||
f"-output-directory={temp_dir}",
|
||||
|
|
Loading…
Add table
Reference in a new issue