From e72390bfc4e38a472e44abc99aec4f83022b8018 Mon Sep 17 00:00:00 2001 From: red5h4d0w <45214944+red5h4d0w@users.noreply.github.com> Date: Mon, 17 Jun 2019 15:40:03 -0400 Subject: [PATCH] Update tex_file_writing.py --- manimlib/utils/tex_file_writing.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/manimlib/utils/tex_file_writing.py b/manimlib/utils/tex_file_writing.py index 8f7e29df..5df24de3 100644 --- a/manimlib/utils/tex_file_writing.py +++ b/manimlib/utils/tex_file_writing.py @@ -44,8 +44,8 @@ def tex_to_dvi(tex_file): "latex", "-interaction=batchmode", "-halt-on-error", - "-output-directory=\'{}\'".format(consts.TEX_DIR), - "\'{}\'".format(tex_file), + "-output-directory=\"{}\"".format(consts.TEX_DIR), + "\"{}\"".format(tex_file), ">", os.devnull ] if not TEX_USE_CTEX else [ @@ -53,8 +53,8 @@ def tex_to_dvi(tex_file): "-no-pdf", "-interaction=batchmode", "-halt-on-error", - "-output-directory=\'{}\'".format(consts.TEX_DIR), - "\'{}\'".format(tex_file), + "-output-directory=\"{}\"".format(consts.TEX_DIR), + "\"{}\"".format(tex_file), ">", os.devnull ] @@ -79,12 +79,12 @@ def dvi_to_svg(dvi_file, regen_if_exists=False): if not os.path.exists(result): commands = [ "dvisvgm", - "\'{}\'".format(dvi_file), + "\"{}\"".format(dvi_file), "-n", "-v", "0", "-o", - "\'{}\'".format(result), + "\"{}\"".format(result), ">", os.devnull ]