3b1b / 3b1b/manim

Updating MikTex breaks Manim latex conversion (with workaround)

オープン
#1,285 コメント 6 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
93.9k
フォーク
7.7k
平均マージ
2日 13時間
マージ済み PR(30日)
4

説明

### 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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

この問題はManimのLaTeX変換に関連しており、特にMikTeXの更新が原因です。LaTeXレンダリングコード(おそらくmanim/mobject/svg/text_mobject.pyまたはtex_templateの処理)を確認してください。workaroundにはMikTeXのパッケージ管理が関係します。更新されたMikTeXインストールで問題を再現し、エラー 'g0-65 is not supported' が表示されるかを確認してテストしてください。コンテキストとしてリンクされたissue #1239を確認します。Doneは、workaroundを文書化する、またはLaTeXテンプレートのデフォルト値を調整することのようです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
latex
領域
documentation
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。