foreign letters causing error during compilation
See original GitHub issueHi,
While playing with manim I wanted to write text (in polish) and noticed that using letters “ą/ę” (right alt + a/e) causes error during compilation.
Please check when using example_scenes/basic.py
and if you change WriteStuff
so that letter “ą” is in variable named example_text
, compiling it throws an error Exception: LaTeX error converting to dvi. See log output above or the log file: media/Tex/7e3c37ceb1ce05b9.log
. I have noticed that in the corresponding .tex file there is no \usepackage[T1]{fontenc}
.
Same problem shows when trying to compile .tex with texmaker but after adding “\usepackage[T1]{fontenc}” to .tex file in texmaker it compiles succesfully. Can you tell manim to add “\usepackage[T1]{fontenc}” to every .tex file that it generates? I think it should solve the problem.
Additional problem is that letter “ł” and “Ł” are not animated properly but I think after solving problem above it may also be solved.
Thank you very much and regards
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Yes of course. I will do so as soon as I get back from my short trip.
The way to work out this (at least for me) was to
in order to not change the default template. It can probably be done way easier - but still, “Zażółć gęślą jaźń” rendered just fine.