Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
doxverilog
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
doxverilog
Commits
52d216a8
Commit
52d216a8
authored
Sep 07, 2014
by
albert-github
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 735198 - plantUML requires epstopdf for building PDF files
Added conversion from eps to pdf, analogous to dia and msc
parent
83c1a127
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
plantuml.cpp
src/plantuml.cpp
+12
-1
No files found.
src/plantuml.cpp
View file @
52d216a8
...
...
@@ -20,7 +20,7 @@
#include <qdir.h>
//
static const int maxCmdLine = 40960;
static
const
int
maxCmdLine
=
40960
;
QCString
writePlantUMLSource
(
const
QCString
&
outDir
,
const
QCString
&
fileName
,
const
QCString
&
content
)
{
...
...
@@ -93,5 +93,16 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
QFile
(
QCString
(
baseName
)
+
".pu"
).
remove
();
}
portable_sysTimerStop
();
if
(
(
format
==
PUML_EPS
)
&&
(
Config_getBool
(
"USE_PDFLATEX"
))
)
{
QCString
epstopdfArgs
(
maxCmdLine
);
epstopdfArgs
.
sprintf
(
"
\"
%s.eps
\"
--outfile=
\"
%s.pdf
\"
"
,
baseName
,
baseName
);
portable_sysTimerStart
();
if
(
exitCode
=
portable_system
(
"epstopdf"
,
epstopdfArgs
)
!=
0
)
{
err
(
"Problems running epstopdf. Check your TeX installation! Exit code: %d
\n
"
,
exitCode
);
}
portable_sysTimerStop
();
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment