manim icon indicating copy to clipboard operation
manim copied to clipboard

LaTeX compilation error: LaTeX Error: File `standalone.cls' not found.

Open Lay-Yin opened this issue 1 year ago • 3 comments

I've installed TinyTeX by chocolatey choco install manim-latex. It is a dedicated package for Manim based on TinyTeX which contains all the required packages that Manim interacts with. After installation, my code couldn't run because of " You do not have package standalone.cls installed." image Any possible solution would be welcome and appreciated!

Environment

Win11 Manim CE python 3.11.9

Lay-Yin avatar May 05 '24 11:05 Lay-Yin

Run sudo tlmgr install standalone

Also these others may help:

sudo tlmgr update --self sudo tlmgr install amsmath amssymb dvisvgm cm-super sudo tlmgr install collection-latexrecommended sudo tlmgr install collection-fontsrecommended sudo tlmgr install standalone sudo tlmgr install preview sudo tlmgr install doublestroke sudo tlmgr install relsize sudo tlmgr install fundus-calligra sudo tlmgr install physics

If tlmgr is not found, run: echo 'export PATH="/Library/TeX/texbin:$PATH"' >> ~/.zshrc\n (if on mac - to add to path)

JakeMawson avatar Oct 15 '24 16:10 JakeMawson

Run sudo tlmgr install standalone

Also these others may help:

sudo tlmgr update --self sudo tlmgr install amsmath amssymb dvisvgm cm-super sudo tlmgr install collection-latexrecommended sudo tlmgr install collection-fontsrecommended sudo tlmgr install standalone sudo tlmgr install preview sudo tlmgr install doublestroke sudo tlmgr install relsize sudo tlmgr install fundus-calligra sudo tlmgr install physics

If tlmgr is not found, run: echo 'export PATH="/Library/TeX/texbin:$PATH"' >> ~/.zshrc\n (if on mac - to add to path)

I am getting warnings that it would destroy my system install of texlive. What should I do then?

AlphaCraft9658 avatar Dec 11 '24 14:12 AlphaCraft9658

Run sudo tlmgr install standalone

Also these others may help:

sudo tlmgr update --self sudo tlmgr install amsmath amssymb dvisvgm cm-super sudo tlmgr install collection-latexrecommended sudo tlmgr install collection-fontsrecommended sudo tlmgr install standalone sudo tlmgr install preview sudo tlmgr install doublestroke sudo tlmgr install relsize sudo tlmgr install fundus-calligra sudo tlmgr install physics

If tlmgr is not found, run: echo 'export PATH="/Library/TeX/texbin:$PATH"' >> ~/.zshrc\n (if on mac - to add to path)

Could you provide some solutions for Windows? I really need it.

RS64671012 avatar Jan 08 '25 13:01 RS64671012