diff --git a/manimlib/utils/tex_file_writing.py b/manimlib/utils/tex_file_writing.py index 6c85564e2e..b5ea2e4efa 100644 --- a/manimlib/utils/tex_file_writing.py +++ b/manimlib/utils/tex_file_writing.py @@ -118,7 +118,7 @@ def full_tex_to_svg(full_tex: str, compiler: str = "latex", message: str = ""): text=True ) - if process.returncode != 0: + if process.returncode != 0 and not dvi_path.exists(): # Handle error error_str = "" log_path = tex_path.with_suffix(".log")