When using two parts in my document and resetting the counter for the second one, I get the following warning:
destination with the same identifier (name{section.1}) has been already used, duplicate ignored
A minimal example:
\documentclass{scrartcl}
\usepackage{hyperref}
\begin{document}
\tableofcontents
\newpage
\part{Part 1}
\section{Section 1-1}
\newpage
\setcounter{section}{0}
\part{Part 2}
\section{Section 2-1}
\end{document}
How can I get rid of this warning?