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
c6176845
Commit
c6176845
authored
Oct 11, 2014
by
Dimitri van Heesch
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #233 from albert-github/feature/bug_cite_perl
Generate error message in case bibtex generation fails
parents
e446e2e0
f121923b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
cite.cpp
src/cite.cpp
+9
-2
No files found.
src/cite.cpp
View file @
c6176845
...
...
@@ -211,8 +211,15 @@ void CiteDict::generatePage() const
// 5. run bib2xhtml perl script on the generated file which will insert the
// bibliography in citelist.doc
portable_system
(
"perl"
,
"
\"
"
+
bib2xhtmlFile
+
"
\"
"
+
bibOutputFiles
+
"
\"
"
+
citeListFile
+
"
\"
"
);
int
exitCode
;
portable_sysTimerStop
();
if
((
exitCode
=
portable_system
(
"perl"
,
"
\"
"
+
bib2xhtmlFile
+
"
\"
"
+
bibOutputFiles
+
"
\"
"
+
citeListFile
+
"
\"
"
))
!=
0
)
{
err
(
"Problems running bibtex. Verify that the command 'perl --version' works from the command line. Exit code: %d
\n
"
,
exitCode
);
}
portable_sysTimerStop
();
QDir
::
setCurrent
(
oldDir
);
...
...
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