In check_formula_by_txt.py, line 10 ,if I add this line ,when runing command like "python manim.py tutorial/3_text_like_arrays.py CheckFormula1 -ps", I will got error like:
File "manim.py", line 5, in
manimlib.main()
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/init.py", line 11, in main
config = manimlib.config.get_configuration(args)
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/config.py", line 185, in get_configuration
module = get_module(args.file)
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/config.py", line 180, in get_module
spec.loader.exec_module(module)
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "tutorial/3_text_like_arrays.py", line 211, in
class CheckFormula1(CheckFormulaByTXT):
File "tutorial/3_text_like_arrays.py", line 221, in CheckFormula1
"dx\tiny .}"
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/mobject/svg/tex_mobject.py", line 144, in init
self, self.arg_separator.join(tex_strings), **kwargs
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/mobject/svg/tex_mobject.py", line 44, in init
self.template_tex_file_body
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/utils/tex_file_writing.py", line 19, in tex_to_svg_file
dvi_file = tex_to_dvi(tex_file)
File "/home/iranb/Desktop/Manim/manim/manim/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.
When I delete line 10 ,things got better ,but I still can not get the right output like Manim tutorial | 3 - Arrays
So, I want to know how to fix it.Thank you.
In check_formula_by_txt.py, line 10 ,if I add this line ,when runing command like "python manim.py tutorial/3_text_like_arrays.py CheckFormula1 -ps", I will got error like:
File "manim.py", line 5, in
manimlib.main()
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/init.py", line 11, in main
config = manimlib.config.get_configuration(args)
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/config.py", line 185, in get_configuration
module = get_module(args.file)
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/config.py", line 180, in get_module
spec.loader.exec_module(module)
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "tutorial/3_text_like_arrays.py", line 211, in
class CheckFormula1(CheckFormulaByTXT):
File "tutorial/3_text_like_arrays.py", line 221, in CheckFormula1
"dx\tiny .}"
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/mobject/svg/tex_mobject.py", line 144, in init
self, self.arg_separator.join(tex_strings), **kwargs
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/mobject/svg/tex_mobject.py", line 44, in init
self.template_tex_file_body
File "/home/iranb/Desktop/Manim/manim/manim/manimlib/utils/tex_file_writing.py", line 19, in tex_to_svg_file
dvi_file = tex_to_dvi(tex_file)
File "/home/iranb/Desktop/Manim/manim/manim/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.
When I delete line 10 ,things got better ,but I still can not get the right output like Manim tutorial | 3 - Arrays So, I want to know how to fix it.Thank you.