question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:27 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
wzy2687commented, May 21, 2020

我做了2个修改.

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

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Updated MikTeX, now "Sorry, but xelatex.exe did not succeed ...
It seems I hadn't actually updated MikTeX, but rather, I had installed a newer version, MikTeX 21.3 to be precise.
Read more >
Source code for manim.utils.tex_file_writing - Docs
"""Interface for writing, compiling, and converting ``.tex`` files. ... See log output above or" f" the log file: {log_file}", ) return result.
Read more >
Latexmk: current and previous versions; special downloads
Better treatment of wrapped lines in log files, so dependency information is correctly extracted, especially when filenames contain non-ASCII characters.
Read more >
Latexmk with xelatex: xdvipdfmx cannot convert the resulting ...
I'm trying to compile a file using latexmk and xelatex, but for the life ... additional options, but I can't get a pdf...
Read more >
manim 报错Exception: Xelatex error converting to xdv 解决办法
manim 是Grant开源的用于说明性数学视频的动画引擎,其源代码和安装方法可在https://github.com/3b1b/manim 找到。3b1b是3Blue1Brown(三蓝一棕)的 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found