diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2018-07-21 13:13:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-21 13:13:25 (GMT) |
commit | 5e05075b2eb5957739d6e32577f6b9643e6bbee6 (patch) | |
tree | afb60fa51be77c2ec4ce06f342e0dfaceffabeb8 /src/formula.cpp | |
parent | 72b5d9ccf8e82930dac5dc4c847babcf41f7cc0a (diff) | |
parent | 7bb6b4792a95626685df5750a6ab79b675c9fd60 (diff) | |
download | Doxygen-5e05075b2eb5957739d6e32577f6b9643e6bbee6.zip Doxygen-5e05075b2eb5957739d6e32577f6b9643e6bbee6.tar.gz Doxygen-5e05075b2eb5957739d6e32577f6b9643e6bbee6.tar.bz2 |
Merge pull request #738 from albert-github/feature/bug_latex_code
Small problems when having code in LaTeX output
Diffstat (limited to 'src/formula.cpp')
-rw-r--r-- | src/formula.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/formula.cpp b/src/formula.cpp index 46e2075..c252e07 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -69,8 +69,10 @@ void FormulaList::generateBitmaps(const char *path) FTextStream t(&f); if (Config_getBool(LATEX_BATCHMODE)) t << "\\batchmode" << endl; t << "\\documentclass{article}" << endl; + t << "\\usepackage{ifthen}" << endl; t << "\\usepackage{epsfig}" << endl; // for those who want to include images writeExtraLatexPackages(t); + writeLatexSpecialFormulaChars(t); t << "\\pagestyle{empty}" << endl; t << "\\begin{document}" << endl; int page=0; |