Exception: Latex error converting to dvi, when using Scandinavian characters
- Lingua principale
- Python
- Stelle
- 93.8k
- Fork
- 7.7k
- Metriche di merge delle PR
- Metriche PR in attesa
Descrizione
I want to use Scandinavian characters in a TextMobject, like this
`first_guess_text = TextMobject("Startgæt")`
When I try to render, I get the following error:
> Exception: Latex error converting to dvi. See log output above or the log file: C:\Manim\manim_03022019\manimlib\files\Tex\8d9610b9ccfaa1a7.log
In the log file (which can be seen [here](https://imgur.com/a/R7RJPRe)) it says that there is a package Inputenc error: Invalid UTF-8 byte sequence.
I googled and found [this](https://github.com/3b1b/manim/issues/645) but that didn't help. I did try opening the file C:\Manim\manim_03022019\manimlib\files\Tex\8d9610b9ccfaa1a7.tex and found out that it is encoded as ISO-8859-1 and the changes I made to tex_template.tex is not made in that file. The top is
`\usepackage[english]{babel}`
instead of
`\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{siunitx}`
I think that is the problem but I don't know how to fix it.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.