summaryrefslogtreecommitdiffstats
path: root/src/latexgen.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-01-07 14:04:41 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-01-07 14:04:41 (GMT)
commitb96dc0fd971a3569e2a986e833c2eb7f24db69f2 (patch)
tree3bf65affb4fd1da878f92f00037c12e3a9dd394c /src/latexgen.cpp
parentf8c32f996cac5db890c29958989d25ada389772b (diff)
downloadDoxygen-b96dc0fd971a3569e2a986e833c2eb7f24db69f2.zip
Doxygen-b96dc0fd971a3569e2a986e833c2eb7f24db69f2.tar.gz
Doxygen-b96dc0fd971a3569e2a986e833c2eb7f24db69f2.tar.bz2
Possibility to use gswin64c on Windows
On windows the 32 bit executable is called gswin32c, but for the 64-bit systems also a gswin64c exists. The path is checked for the existing of these executables (with a preference for the 32 bit version).
Diffstat (limited to 'src/latexgen.cpp')
-rw-r--r--src/latexgen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/latexgen.cpp b/src/latexgen.cpp
index cdda22c..0c0f117 100644
--- a/src/latexgen.cpp
+++ b/src/latexgen.cpp
@@ -421,7 +421,8 @@ static void writeMakeBat()
t << mkidx_command << " refman.idx\n";
t << "%LATEX_CMD% refman.tex\n";
t << "dvips -o refman.ps refman.dvi\n";
- t << "gswin32c -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite "
+ t << Portable::ghostScriptCommand();
+ t << " -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite "
"-sOutputFile=refman.pdf -c save pop -f refman.ps\n";
}
else // use pdflatex