summaryrefslogtreecommitdiffstats
path: root/src/formula.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-04-09 12:30:49 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-04-09 12:30:49 (GMT)
commit66a728cdcf50baeef45f78a1180c5ce86fe734af (patch)
treeb528a3cee502c5e5a4805a194479f927cc6a8c7f /src/formula.cpp
parent7e2fcd305c8c9377aa958a3d812cc31bc81c0e32 (diff)
downloadDoxygen-66a728cdcf50baeef45f78a1180c5ce86fe734af.zip
Doxygen-66a728cdcf50baeef45f78a1180c5ce86fe734af.tar.gz
Doxygen-66a728cdcf50baeef45f78a1180c5ce86fe734af.tar.bz2
Improvement LaTeX output
For a number of languages the output in LaTeX has been improved so the regular documentation can be generated (automatically) in LaTeX / PDF as well.
Diffstat (limited to 'src/formula.cpp')
-rw-r--r--src/formula.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/formula.cpp b/src/formula.cpp
index 6fe617d..9e48b2d 100644
--- a/src/formula.cpp
+++ b/src/formula.cpp
@@ -25,6 +25,7 @@
#include "util.h"
#include "message.h"
#include "config.h"
+#include "language.h"
#include "portable.h"
#include "index.h"
#include "doxygen.h"
@@ -96,8 +97,7 @@ void FormulaList::generateBitmaps(const char *path)
{
//printf("Running latex...\n");
//system("latex _formulas.tex </dev/null >/dev/null");
- QCString latexCmd = Config_getString(LATEX_CMD_NAME);
- if (latexCmd.isEmpty()) latexCmd="latex";
+ QCString latexCmd = theTranslator->latexCommandName();
portable_sysTimerStart();
if (portable_system(latexCmd,"_formulas.tex")!=0)
{