Skip to content

Add LaTeX deps required by Manim (Tex/MathTex)#3

Open
SebastianZug wants to merge 1 commit into
LiaScript:masterfrom
SebastianZug:add-manim-latex-deps
Open

Add LaTeX deps required by Manim (Tex/MathTex)#3
SebastianZug wants to merge 1 commit into
LiaScript:masterfrom
SebastianZug:add-manim-latex-deps

Conversation

@SebastianZug

Copy link
Copy Markdown
Contributor

texlive-latex-base alone lacks standalone.cls (Manim's default document class) and the dvisvgm binary (final DVI->SVG step), so any course rendering a Manim MathTex animation fails on the CodeRunner backend with 'standalone.cls not found' followed by 'No such file or directory: dvisvgm'.

Add texlive-latex-extra, dvisvgm, texlive-fonts-recommended and texlive-science. Verified in a clean ubuntu:22.04 layer: standalone.cls, preview.sty, amsmath.sty and dvisvgm are all present, and Manim v0.19.1 renders the matrix-multiplication example to animation.webm end to end.

texlive-latex-base alone lacks standalone.cls (Manim's default document
class) and the dvisvgm binary (final DVI->SVG step), so any course
rendering a Manim MathTex animation fails on the CodeRunner backend with
'standalone.cls not found' followed by 'No such file or directory: dvisvgm'.

Add texlive-latex-extra, dvisvgm, texlive-fonts-recommended and
texlive-science. Verified in a clean ubuntu:22.04 layer: standalone.cls,
preview.sty, amsmath.sty and dvisvgm are all present, and Manim v0.19.1
renders the matrix-multiplication example to animation.webm end to end.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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

Successfully merging this pull request may close these issues.

1 participant