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

LaTeX compiler error #14

Open
ArghyadeepDev opened this issue Aug 9, 2021 · 0 comments
Open

LaTeX compiler error #14

ArghyadeepDev opened this issue Aug 9, 2021 · 0 comments

Comments

@ArghyadeepDev
Copy link

ERROR LaTeX compilation error: Undefined tex_file_writing.py:200
control sequence.

                ERROR    Context for error:                       tex_file_writing.py:225
                                                                                         
                         \begin{align}                                                  
                         \chemfig{6((=O)-N(-CH_3)-5(-N=-N(-CH_3                        
                         )-=)--(=O)-N(-H_3C)-)}                                          
                         \end{align}                                                    

ValueError Traceback (most recent call last)
in
----> 1 get_ipython().run_cell_magic('manim', 'ChanimScene', 'class ChanimScene(Scene):\n def construct(self):\n ## ChemWithName creates a chemical diagram with a name label\n chem = ChemWithName("6((=O)-N(-CH_3)-5(-N=-N(-CH_3)-=)--(=O)-N(-H_3C)-)", "Caffeine")\n\n self.play(chem.creation_anim())\n self.wait()\n')

11 frames
in

in construct(self)

/usr/local/lib/python3.7/dist-packages/manim/utils/tex_file_writing.py in compile_tex(tex_file, tex_compiler, output_format)
233
234 raise ValueError(
--> 235 f"{tex_compiler} error converting to"
236 f" {output_format[1:]}. See log output above or"
237 f" the log file: {log_file}"

ValueError: latex error converting to dvi. See log output above or the log file: media/Tex/4799158acc41e94f.log
I AM HAVING This error in Google Colab while running it , I installed both manim and chanim and also !tlmgr install chemfig but still having the problem please solve this , while running
!tlmgr install chemfig
It's showing
Cannot determine type of tlpdb from /root/textmf!
Cannot set up TLPDB in /root/textmf at /usr/bin/tlmgr line 6424

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

No branches or pull requests

1 participant