diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-08-09 08:29:54 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-08-09 08:29:54 (GMT) |
commit | f1ddf16acd015f8cf9ffc1fbf5719e8c764150e2 (patch) | |
tree | a09074ed1c9a5c1efb292f69db4f9bbb3a97cb19 /src/formula.cpp | |
parent | 3a7dcb4cbc953fcf5ab62243743707e5e0e3d379 (diff) | |
download | Doxygen-f1ddf16acd015f8cf9ffc1fbf5719e8c764150e2.zip Doxygen-f1ddf16acd015f8cf9ffc1fbf5719e8c764150e2.tar.gz Doxygen-f1ddf16acd015f8cf9ffc1fbf5719e8c764150e2.tar.bz2 |
Release-1.4.7-20060809
Diffstat (limited to 'src/formula.cpp')
-rw-r--r-- | src/formula.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/formula.cpp b/src/formula.cpp index c906469..07d60d2 100644 --- a/src/formula.cpp +++ b/src/formula.cpp @@ -107,7 +107,8 @@ void FormulaList::generateBitmaps(const char *path) 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"); + err("Problems running latex. Check your installation or look " + "for typos in _formulas.tex and check _formulas.log!\n"); formulaError=TRUE; //return; } @@ -286,7 +287,7 @@ void FormulaList::generateBitmaps(const char *path) } // remove intermediate files produced by latex thisDir.remove("_formulas.dvi"); - thisDir.remove("_formulas.log"); + if (!formulaError) thisDir.remove("_formulas.log"); // keep file in case of errors thisDir.remove("_formulas.aux"); } // remove the latex file itself |