Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manim安装配置指北 | Seeno #47

Open
umm233 opened this issue May 31, 2019 · 2 comments
Open

manim安装配置指北 | Seeno #47

umm233 opened this issue May 31, 2019 · 2 comments

Comments

@umm233
Copy link
Owner

umm233 commented May 31, 2019

https://umm.js.org/p/637d228f/#more

关于manim的安装,以及简单配置使用。

@asustnt3
Copy link

求教楼主 我改了TEX_USE_CTEX = True 但写中文的时候还是出错,请问有啥建议吗?
我用的是win10 64位 + python3.7.1 + manimlib-0.1.10 运行显示英文字体时 很顺利
Traceback (most recent call last):
File "L:\Software\manimlib-0.1.10\manimlib\extract_scene.py", line 150, in main
scene = SceneClass(**scene_kwargs)
File "L:\Software\manimlib-0.1.10\manimlib\scene\scene.py", line 52, in init
self.construct()
File "example_scenes.py", line 101, in construct
"你好",
File "L:\Software\manimlib-0.1.10\manimlib\mobject\svg\tex_mobject.py", line 144, in init
self, self.arg_separator.join(tex_strings), **kwargs
File "L:\Software\manimlib-0.1.10\manimlib\mobject\svg\tex_mobject.py", line 44, in init
self.template_tex_file_body
File "L:\Software\manimlib-0.1.10\manimlib\utils\tex_file_writing.py", line 19, in tex_to_svg_file
dvi_file = tex_to_dvi(tex_file)
File "L:\Software\manimlib-0.1.10\manimlib\utils\tex_file_writing.py", line 67, in tex_to_dvi
"See log output above or the log file: %s" % log_file)
Exception: Latex error converting to dvi. See log output above or the log file: Tex\1c2ddcefad627309.log

@umm233
Copy link
Owner Author

umm233 commented Sep 23, 2019

@asustnt3
求教楼主 我改了TEX_USE_CTEX = True 但写中文的时候还是出错,请问有啥建议吗?
我用的是win10 64位 + python3.7.1 + manimlib-0.1.10 运行显示英文字体时 很顺利
Traceback (most recent call last):
File "L:\Software\manimlib-0.1.10\manimlib\extract_scene.py", line 150, in main
scene = SceneClass(**scene_kwargs)
File "L:\Software\manimlib-0.1.10\manimlib\scene\scene.py", line 52, in init
self.construct()
File "example_scenes.py", line 101, in construct
"你好",
File "L:\Software\manimlib-0.1.10\manimlib\mobject\svg\tex_mobject.py", line 144, in init
self, self.arg_separator.join(tex_strings), **kwargs
File "L:\Software\manimlib-0.1.10\manimlib\mobject\svg\tex_mobject.py", line 44, in init
self.template_tex_file_body
File "L:\Software\manimlib-0.1.10\manimlib\utils\tex_file_writing.py", line 19, in tex_to_svg_file
dvi_file = tex_to_dvi(tex_file)
File "L:\Software\manimlib-0.1.10\manimlib\utils\tex_file_writing.py", line 67, in tex_to_dvi
"See log output above or the log file: %s" % log_file)
Exception: Latex error converting to dvi. See log output above or the log file: Tex\1c2ddcefad627309.log

你装的 Latex 是什么?建议使用 MiKTex,这个问题在我以前使用 CTex 的时候出现过,如果你也用 CTex 的话,换一下试试。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants