summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2016-01-15 19:01:19 (GMT)
committeralbert-github <albert.tests@gmail.com>2016-01-15 19:01:19 (GMT)
commit1d77a4ed407aaa24eae53f501d1a5ce38b352504 (patch)
tree813d0949ff416a1e0f8531a4a4d2887daca6be8a /doc
parent7b0b7ef746ae15df3894847f5b43a29ae20c9599 (diff)
downloadDoxygen-1d77a4ed407aaa24eae53f501d1a5ce38b352504.zip
Doxygen-1d77a4ed407aaa24eae53f501d1a5ce38b352504.tar.gz
Doxygen-1d77a4ed407aaa24eae53f501d1a5ce38b352504.tar.bz2
PDF generation stops when image with caption is included in a table.
- patch should only be applied to images. - added doxyfigcaption to manual.sty for completeness, when in future a table with an image and caption might appear in the documentation.
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.sty7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/manual.sty b/doc/manual.sty
index 80fbda6..643bd40 100644
--- a/doc/manual.sty
+++ b/doc/manual.sty
@@ -31,3 +31,10 @@
\fancyfoot[CO]{\fancyplain{}{}}
\fancyfoot[RO]{\fancyplain{}{}}
+% Define caption that is also suitable in a table
+\makeatletter
+\def\doxyfigcaption{%
+\refstepcounter{figure}%
+\@dblarg{\@caption{figure}}}
+\makeatother
+