3b1b / 3b1b/manim

Updating MikTex breaks Manim latex conversion (with workaround)

Open
#1,285 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
93.9k
Forks
7.7k
Avg merge
2d 13h
Merged PRs (30d)
4

Description

### If this is a support request:

**Please attempt to solve the problem on your own before opening an issue.**
Between old issues, StackOverflow, and Google, you should be able to find
solutions to most of the common problems.

Include at least:
1. Steps to reproduce the issue (e.g. the command you ran)
2. The unexpected behavior that occurred (e.g. error messages or screenshots)
3. The environment (e.g. operating system and version of manim)

### If this is a feature request:
Include the motivation for making this change.

Something is wrong with either MikTex or Manim itself, but Manim doesn't render TextMobjects properly after updating MikTex packages to the latest version. I've read a similar issue posted here https://github.com/3b1b/manim/issues/1239 showing that "g0-65 is not supported" and some letters are not rendered.

I managed to resolve this temporarily by reinstalling MikTex Basic, deferring updates, and letting MikTex **only install necessarily packages** when rendering animations. I hope MikTex gets this fixed asap or maybe there is a necessary fix on Manim's end. I'm quite new to Manim so I don't know much about how MikTex renders LaTex input. I just want to share how I worked around this issue for those who experienced the same lately. Thanks.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue relates to LaTeX conversion in Manim, specifically with MikTeX updates. Look at the LaTeX rendering code, likely in manim/mobject/svg/text_mobject.py or the tex_template handling. The workaround involves MikTeX package management. Test by reproducing the issue with an updated MikTeX installation and see if the error 'g0-65 is not supported' appears. Check linked issue #1239 for context. Done looks like documenting the workaround or possibly adjusting LaTeX template defaults.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.