From ca5ad4a50ba0c55ef22cd58dd8040fb4602f69cf Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 20 Jan 2019 11:29:23 +0100 Subject: issue #6775 LaTex package newunicodechar: "package won't work " Some older distributions with newunicode package 1.1 need this option `\usepackage[utf8]{inputenc}`. Option was already present in the main LaTeX output i.e. refman.tex --- src/formula.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/formula.cpp b/src/formula.cpp index c252e07..1c5042e 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -71,6 +71,7 @@ void FormulaList::generateBitmaps(const char *path) t << "\\documentclass{article}" << endl; t << "\\usepackage{ifthen}" << endl; t << "\\usepackage{epsfig}" << endl; // for those who want to include images + t << "\\usepackage[utf8]{inputenc}" << endl; // looks like some older distributions with newunicode package 1.1 need this option. writeExtraLatexPackages(t); writeLatexSpecialFormulaChars(t); t << "\\pagestyle{empty}" << endl; -- cgit v0.12