Git Product home page Git Product logo

Comments (2)

asustnt3 avatar asustnt3 commented on June 26, 2024

求教楼主 我改了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

from umm233.github.io.

umm233 avatar umm233 commented on June 26, 2024

@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 的话,换一下试试。

from umm233.github.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.