diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-03-17 20:13:31 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-03-17 20:13:31 (GMT) |
commit | 40c0613db241b9015265b2b9f3673e0c7869d3c2 (patch) | |
tree | f846ab2e854c959c8e76153065efd17e01d7a02b /src/latexgen.cpp | |
parent | 7ad88d9c5044be1e85a1cccbde20ec2fbfc3caf3 (diff) | |
download | Doxygen-40c0613db241b9015265b2b9f3673e0c7869d3c2.zip Doxygen-40c0613db241b9015265b2b9f3673e0c7869d3c2.tar.gz Doxygen-40c0613db241b9015265b2b9f3673e0c7869d3c2.tar.bz2 |
Release-1.2.14-20020317
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r-- | src/latexgen.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp index c02428c..f851e19 100644 --- a/src/latexgen.cpp +++ b/src/latexgen.cpp @@ -147,6 +147,10 @@ void LatexGenerator::init() err("Could not open file %s for writing\n",fileName.data()); exit(1); } + // inserted by KONNO Akihisa <konno@researchers.jp> 2002-03-05 + QCString latex_command = Config_getString("LATEX_CMD_NAME"); + QCString mkidx_command = Config_getString("MAKEINDEX_CMD_NAME"); + // end insertion by KONNO Akihisa <konno@researchers.jp> 2002-03-05 QTextStream t(&file); t << "all: refman.dvi" << endl << endl @@ -194,16 +198,16 @@ void LatexGenerator::init() << endl << "refman.dvi: refman.tex doxygen.sty" << endl << "\techo \"Running latex...\"" << endl - << "\tlatex refman.tex" << endl + << "\t" << latex_command << " refman.tex" << endl << "\techo \"Running makeindex...\"" << endl - << "\tmakeindex refman.idx" << endl + << "\t" << mkidx_command << " refman.idx" << endl << "\techo \"Rerunning latex....\"" << endl - << "\tlatex refman.tex" << endl + << "\t" << latex_command << " refman.tex" << endl << "\tlatex_count=5 ; \\" << endl << "\twhile egrep -s 'Rerun (LaTeX|to get cross-references right)' refman.log && [ $$latex_count -gt 0 ] ;\\" << endl << "\t do \\" << endl << "\t echo \"Rerunning latex....\" ;\\" << endl - << "\t latex refman.tex ;\\" << endl + << "\t " << latex_command << " refman.tex ;\\" << endl << "\t latex_count=`expr $$latex_count - 1` ;\\" << endl << "\t done" << endl << endl << "clean:" << endl |