summaryrefslogtreecommitdiffstats
path: root/src/formula.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2019-01-20 10:29:23 (GMT)
committeralbert-github <albert.tests@gmail.com>2019-01-20 10:29:23 (GMT)
commitca5ad4a50ba0c55ef22cd58dd8040fb4602f69cf (patch)
treeb157ddfc5890a77ebfe15d8f041328786df64857 /src/formula.cpp
parentfa28a4a9e53ba87035666680295273f36b237e19 (diff)
downloadDoxygen-ca5ad4a50ba0c55ef22cd58dd8040fb4602f69cf.zip
Doxygen-ca5ad4a50ba0c55ef22cd58dd8040fb4602f69cf.tar.gz
Doxygen-ca5ad4a50ba0c55ef22cd58dd8040fb4602f69cf.tar.bz2
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
Diffstat (limited to 'src/formula.cpp')
-rw-r--r--src/formula.cpp1
1 files changed, 1 insertions, 0 deletions
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;