3b1b / 3b1b/manim

Not being able to run 'OpeningManimExample': 'Latex error converting to dvi.'

Offen
#719 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
LaTeX
Vorherrschende Sprache
Python
Sterne
93.9k
Forks
7.7k
Ø Merge
2 T. 13 Std.
Gemergte PRs (30 T.)
4

Beschreibung

I'm attempting to use Manim (Youtuber 3Blue1Brown python's library) to animate. I have installed the necessary software including the newest versions of MikTex and python. I'm able to run the SquareToCircle and the WriteStuff animation, but whenever I try to run OpeningManimExample I get the following error:

`File "C:\Animation Programs\Manim\manim_3_feb\manimlib\extract_scene.py", lin
153, in main
scene = SceneClass(**scene_kwargs)
File "C:\Animation Programs\Manim\manim_3_feb\manimlib\scene\scene.py", line
4, in __init__
self.construct()
File "example_scenes.py", line 18, in construct
title = TextMobject("This is some \\LaTeX")
File "C:\Animation Programs\Manim\manim_3_feb\manimlib\mobject\svg\tex_mobjec
.py", line 190, in __init__
self, self.arg_separator.join(tex_strings), **kwargs
File "C:\Animation Programs\Manim\manim_3_feb\manimlib\mobject\svg\tex_mobjec
.py", line 91, in __init__
self.template_tex_file_body
File "C:\Animation Programs\Manim\manim_3_feb\manimlib\utils\tex_file_writing
py", line 19, in tex_to_svg_file
dvi_file = tex_to_dvi(tex_file)
File "C:\Animation Programs\Manim\manim_3_feb\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:
C:\Animation Programs\Manim\manim_3_feb\manimlib\files\Tex\cc8b128e228b77ce.log`

There is no such .log file, however there is a .tex file in the exact same folder with the exact same name. The .tex file reads (opening in NotePad):

`\documentclass[preview]{standalone}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{dsfont}
\usepackage{setspace}
\usepackage{tipa}
\usepackage{relsize}
\usepackage{textcomp}
\usepackage{mathrsfs}
\usepackage{calligra}
\usepackage{wasysym}
\usepackage{ragged2e}
\usepackage{physics}
\usepackage{xcolor}
\usepackage{textcomp}
\usepackage{microtype}
\DisableLigatures{encoding = *, family = * }
%\usepackage[UTF8]{ctex}
\linespread{1}
\begin{document}
\centering This is some \LaTeX
\end{document}`

Opening the terminal at C:\Animation Programs\Manim\manim_3_feb\manimlib and inputting `latex tex_template.tex` (as I was suggested to do in [this post](https://stackoverflow.com/questions/57779514/issues-with-manim-error-converting-to-dvi/57782422?noredirect=1#comment102055180_57782422)) gives:

`This is pdfTeX, Version 3.14159265-2.6-1.40.20 (MiKTeX 2.9.7140 64-bit)
entering extended mode
(tex_template.tex
LaTeX2e <2018-12-01>
("C:\Program Files\MiKTeX 2.9\tex/latex/standalone\standalone.cls"
Document Class: standalone 2018/03/26 v1.3a Class to compile TeX sub-files stan
dalone ("C:\Program Files\MiKTeX 2.9\tex/latex/tools\shellesc.sty")
("C:\Program Files\MiKTeX 2.9\tex/generic/oberdiek\ifluatex.sty")
("C:\Program Files\MiKTeX 2.9\tex/generic/oberdiek\ifpdf.sty")
("C:\Program Files\MiKTeX 2.9\tex/generic/ifxetex\ifxetex.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/xkeyval\xkeyval.sty"
("C:\Program Files\MiKTeX 2.9\tex/generic/xkeyval\xkeyval.tex"
("C:\Program Files\MiKTeX 2.9\tex/generic/xkeyval\xkvutils.tex"
("C:\Program Files\MiKTeX 2.9\tex/generic/xkeyval\keyval.tex"))))
("C:\Program Files\MiKTeX 2.9\tex/latex/standalone\standalone.cfg")
("C:\Program Files\MiKTeX 2.9\tex/latex/base\article.cls"
Document Class: article 2018/09/03 v1.4i Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex/latex/base\size10.clo"))
("C:\Program Files\MiKTeX 2.9\tex/latex/preview\preview.sty"
("C:\Program Files\MiKTeX 2.9\tex/generic/luatex85\luatex85.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/preview\prtightpage.def")))
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\babel.sty"
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\switch.def")
************************************** Local config file bblopts.cfg used*
("C:\Program Files\MiKTeX 2.9\tex/latex/arabi\bblopts.cfg")
("C:\Program Files\MiKTeX 2.9\tex/latex/babel-english\english.ldf"
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\babel.def"
("C:\Program Files\MiKTeX 2.9\tex/generic/babel\txtbabel.def"))))
("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsmath.sty"
For additional information on amsmath, use the '?' option. ("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amstext.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsgen.sty"))
("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsbsy.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/amsmath\amsopn.sty"))
("C:\Program Files\MiKTeX 2.9\tex/latex/amsfonts\amssymb.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/amsfonts\amsfonts.sty"))
("C:\Program Files\MiKTeX 2.9\tex/latex/doublestroke\dsfont.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/setspace\setspace.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/tipa\tipa.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/base\fontenc.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/tipa\t3enc.def")
("C:\Program Files\MiKTeX 2.9\tex/latex/base\ot1enc.def")))
("C:\Program Files\MiKTeX 2.9\tex/latex/relsize\relsize.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/base\textcomp.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/base\ts1enc.def"
("C:\Program Files\MiKTeX 2.9\tex/latex/base\ts1enc.dfu")))
("C:\Program Files\MiKTeX 2.9\tex/latex/jknappen\mathrsfs.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/fundus-calligra\calligra.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/wasysym\wasysym.sty")
("C:\Program Files\MiKTeX 2.9\tex/latex/ms\ragged2e.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/ms\everysel.sty"))
("C:\Program Files\MiKTeX 2.9\tex/latex/physics\physics.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/l3packages/xparse\xparse.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/l3kernel\expl3.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/l3kernel\expl3-code.tex")
("C:\Program Files\MiKTeX 2.9\tex/latex/l3backend\l3backend-dvips.def"))))
("C:\Program Files\MiKTeX 2.9\tex/latex/xcolor\xcolor.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-cfg\color.cfg")
("C:\Program Files\MiKTeX 2.9\tex/latex/graphics-def\dvips.def"))
("C:\Program Files\MiKTeX 2.9\tex/latex/microtype\microtype.sty"
("C:\Program Files\MiKTeX 2.9\tex/latex/microtype\microtype-pdftex.def")
("C:\Program Files\MiKTeX 2.9\tex/latex/microtype\microtype.cfg"))
(tex_template.aux) ("C:\Program Files\MiKTeX 2.9\tex/latex/tipa\t3cmr.fd")
("C:\Program Files\MiKTeX 2.9\tex/latex/base\ts1cmr.fd")
Preview: Fontsize 10pt
ABD: EverySelectfont initializing macros
("C:\Program Files\MiKTeX 2.9\tex/latex/microtype\mt-cmr.cfg")
Preview: Tightpage 0 0 0 0
[1] (tex_template.aux) )
Output written on tex_template.dvi (1 page, 6808 bytes).
Transcript written on tex_template.log.`

I would really appreciate any help.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.