summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-05-12 17:38:45 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-05-12 17:38:45 (GMT)
commitbcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88 (patch)
tree2f87712e9d2e8da7138ca908bf03c9937ba71bdb /src/dot.cpp
parent758291b1be0c43c13088389b0cfbb560efe00c1f (diff)
downloadDoxygen-bcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88.zip
Doxygen-bcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88.tar.gz
Doxygen-bcf2f33d5be8c6de4de5bb7cbe8ea8b90f19cf88.tar.bz2
Release-1.2.15-20020512
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index c421c2c..ffd4abd 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -1753,6 +1753,18 @@ void writeDotGraphFromFile(const char *inFile,const char *outFile,
{
err("Problems running dot. Check your installation!\n");
}
+ // Added by Nils Strom
+ if ( (format==EPS) && (Config_getBool("USE_PDFLATEX")) )
+ {
+ QCString epstopdfArgs(4096);
+ epstopdfArgs.sprintf("\"%s.eps\" --outfile=\"%s.pdf\"",
+ outFile,outFile);
+ if (iSystem("epstopdf",epstopdfArgs,TRUE)!=0)
+ {
+ err("Error: Problems running epstopdf. Check your TeX installation!\n");
+ }
+ }
+
if (format==BITMAP) checkDotResult(imgName);
}