diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2005-03-28 13:38:53 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2005-03-28 13:38:53 (GMT) |
commit | 4fa6a6049a696a55520a0537192697798f29602d (patch) | |
tree | 8e755f934e036b4b48c96948a075bf607fadc0cf /src/formula.cpp | |
parent | b91d710ef9e95feffbb1c97d3fc7695157e0731e (diff) | |
download | Doxygen-4fa6a6049a696a55520a0537192697798f29602d.zip Doxygen-4fa6a6049a696a55520a0537192697798f29602d.tar.gz Doxygen-4fa6a6049a696a55520a0537192697798f29602d.tar.bz2 |
Release-1.4.2
Diffstat (limited to 'src/formula.cpp')
-rw-r--r-- | src/formula.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/formula.cpp b/src/formula.cpp index ac05dc7..07c6bb4 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -103,7 +103,9 @@ void FormulaList::generateBitmaps(const char *path) { //printf("Running latex...\n"); //system("latex _formulas.tex </dev/null >/dev/null"); - if (iSystem("latex","_formulas.tex")!=0) + QCString latexCmd = Config_getString("LATEX_CMD_NAME"); + if (latexCmd.isEmpty()) latexCmd="latex"; + if (iSystem(latexCmd,"_formulas.tex")!=0) { err("Problems running latex. Check your installation or look for typos in _formulas.tex!\n"); formulaError=TRUE; |