diff options
author | albert-github <albert.tests@gmail.com> | 2020-01-07 14:04:41 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-01-07 14:04:41 (GMT) |
commit | b96dc0fd971a3569e2a986e833c2eb7f24db69f2 (patch) | |
tree | 3bf65affb4fd1da878f92f00037c12e3a9dd394c /src/latexgen.cpp | |
parent | f8c32f996cac5db890c29958989d25ada389772b (diff) | |
download | Doxygen-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.cpp | 3 |
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 |