Skip to content

Exception: Latex error converting to dvi, when using Scandinavian characters #984

Open
@AndersGroen

Description

@AndersGroen

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) it says that there is a package Inputenc error: Invalid UTF-8 byte sequence.

I googled and found this 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions