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
fa23ff84
Commit
fa23ff84
authored
Sep 16, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #223 from albert-github/feature/bug_735198
Bug 735198 - plantUML requires epstopdf for building PDF files
parents
dec53d22
52d216a8
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 @
fa23ff84
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
#include <qdir.h>
#include <qdir.h>
//
static const int maxCmdLine = 40960;
static
const
int
maxCmdLine
=
40960
;
QCString
writePlantUMLSource
(
const
QCString
&
outDir
,
const
QCString
&
fileName
,
const
QCString
&
content
)
QCString
writePlantUMLSource
(
const
QCString
&
outDir
,
const
QCString
&
fileName
,
const
QCString
&
content
)
{
{
...
@@ -93,5 +93,16 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
...
@@ -93,5 +93,16 @@ void generatePlantUMLOutput(const char *baseName,const char *outDir,PlantUMLOutp
QFile
(
QCString
(
baseName
)
+
".pu"
).
remove
();
QFile
(
QCString
(
baseName
)
+
".pu"
).
remove
();
}
}
portable_sysTimerStop
();
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