% !TeX TS-program = pdflatex
% !TeX encoding = UTF-8
\documentclass{article}
\usepackage{float}
\usepackage{graphicx}
\counterwithin{figure}{section}
\usepackage{hyperref}
%\counterwithin{figure}{section}
%\usepackage[all]{hypcap}
\begin{document}
\section{one}
\begin{figure}[H]
\centerline{\includegraphics[width=10cm]{example-image}}
\caption{example-image}
\end{figure}
\clearpage
\section{two}
\begin{figure}[htb]
\centerline{\includegraphics[width=11cm]{example-image-a}}
\caption{example-image-a}
\end{figure}
\end{document}
(pdftex.def) Requested size: 312.9803pt x 234.74237pt.
pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) ha
s been already used, duplicate ignored
to be read again>
\relax
l.23 \caption{example-image-a}
I've read
- pdfTeX warning (ext4): destination with the same identifier (name{figure.1}) has been already used, duplicate ignored
- pdfTeX warning (ext4): destination with the same identifier (name{choice.1}) has been already used, duplicate ignored
- https://texfaq.org/FAQ-hyperdupdest
- https://golatex.de/warnung-destination-with-same-identifier-already-used-t21202.html
- pdfTeX warning (ext4): destination with the same identifier (nam e{page.1}) has been already used, duplicate ignored
- pdfTeX warning: destination with same identifier has been already used, duplicate ignored (weird behavior)
- How to fix destination with the same identifier (name{page.A}) has been already used, duplicate ignored?
and the Problem persist