manim: Exception: Xelatex error converting to xdv. See log output above or the log file: .\files\Tex\0edd36fe50692e98.log

Hello, the moment I change “constants.py” from "TEX_USE_CTEX = False" to "TEX_USE_CTEX = True;, It returns an erro: File "D:\manim-master\manimlib\mobject\svg\tex_mobject.py", line 309, in __init__ TextMobject.__init__(self, *text_parts, **kwargs) File "D:\manim-master\manimlib\mobject\svg\tex_mobject.py", line 144, in __init__ self, self.arg_separator.join(tex_strings), **kwargs File "D:\manim-master\manimlib\mobject\svg\tex_mobject.py", line 44, in __init__ self.template_tex_file_body File "D:\manim-master\manimlib\utils\tex_file_writing.py", line 19, in tex_to_svg_file dvi_file = tex_to_dvi(tex_file) File "D:\manim-master\manimlib\utils\tex_file_writing.py", line 67, in tex_to_dvi "See log output above or the log file: %s" % log_file) Exception: Xelatex error converting to xdv. See log output above or the log file: .\files\Tex\0edd36fe50692e98.log , I need use Chinese, so I change “constants.py” .This erro has already been 3 days, and please tell me why, thanks. @HanwenZhu

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 27 (9 by maintainers)

Commits related to this issue

Most upvoted comments

我做了2个修改.

  1. TEX_USE_CTEX = True
  2. 我修改了 ctex_template.tex 文件, 把 \usepackage[UTF8]{ctex} 放到第二行. 就可以了.

by somehow I solved this issue, though I don’t how… BUT truly truly thank all u guys!!! @HanwenZhu @Kolloom