Update "LaTeX" preamble to ignore unicode errors.
@@ -231,6 +231,17 @@ latex_elements = {
\\usepackage{charter}
\\usepackage[defaultsans]{lato}
\\usepackage{inconsolata}
+
+% Ignoring unicode errors.
+\\makeatletter
+\\def\\UTFviii@defined#1{%
+ \\ifx#1\\relax
+ ?%
+ \\else\\expandafter
+ #1%
+ \\fi
+}
+\\makeatother
""",
}
