summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-10-14 09:43:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-10-14 09:43:33 (GMT)
commit1084519cd410bacb997b1ddd705800412450241b (patch)
tree09f793b4f3efb55b334a08e707bde5baaa9d6f40 /doc
parentf64705ecdeff9eead62e63f27b2ba88bea87c259 (diff)
downloadDoxygen-1084519cd410bacb997b1ddd705800412450241b.zip
Doxygen-1084519cd410bacb997b1ddd705800412450241b.tar.gz
Doxygen-1084519cd410bacb997b1ddd705800412450241b.tar.bz2
Warning about duplicate figure numbers in LaTeX
In the log file of the generated doxygen manual we see warnings like: ``` pdfTeX warning (ext4): destination with the same identifier (name{figure.22.1}) has been already used, duplicate ignored \AtBegShi@Output ...ipout \box \AtBeginShipoutBox \fi \fi ``` (this pull request was also triggered by: https://stackoverflow.com/questions/64328597/pdftex-warning-saying-about-duplicate-figures) The solution is found by means of: https://tex.stackexchange.com/questions/566677/multiple-use-of-figure-number-ext4-warning/ in short: > The hyperref package patches \caption so \H@refstepcounter is used instead of \refstepcounter. The definition isn't necessary in `manual.sty` as the `doxygen_manual.tex` includes `doxygen.sty`
Diffstat (limited to 'doc')
-rw-r--r--doc/manual.sty7
1 files changed, 0 insertions, 7 deletions
diff --git a/doc/manual.sty b/doc/manual.sty
index fd9fd0e..2e85012 100644
--- a/doc/manual.sty
+++ b/doc/manual.sty
@@ -40,10 +40,3 @@
\usepackage{xpatch}
\xpatchcmd{\part}{plain}{empty}{}{}
-% Define caption that is also suitable in a table
-\makeatletter
-\def\doxyfigcaption{%
-\refstepcounter{figure}%
-\@dblarg{\@caption{figure}}}
-\makeatother
-