Numbered chapters below not numbered parts are always problematic. Resetting the chapter number with the part makes this problem even much more serious. hyperref uses the number to generate the link anchor. So, if there is no part number and but several chapters with the same number, the link anchors for these chapters are the same. Using a KOMA-Script class there would be a workaround for this, by emulating not numbered parts with numbered parts:
Code: Select all
\documentclass{scrreprt}
\usepackage{blindtext}
\usepackage{hyperref}
\counterwithin*{chapter}{part}
\renewcommand*{\partformat}{}% Don't print part numbers in part titles
\renewcommand*{\addparttocentry}[2]{\addtocentrydefault{part}{}{#2}}% Ignore part numbers at ToC entries
\begin{document}
\tableofcontents
\part{First Part}
\blinddocument
\blinddocument
\part{Second Part}
\blinddocument
\blinddocument
\end{document}
With the standard classes this is not such easy:
Code: Select all
\documentclass{report}
\usepackage{blindtext}
\usepackage{hyperref}
\counterwithin*{chapter}{part}
\newcommand*{\Part}[2][\partheading]{%
\refstepcounter{part}%
\def\partheading{#2}%
\part*{#2}%
\addcontentsline{toc}{part}{#1}%
}
\begin{document}
\tableofcontents
\Part{First Part}
\blinddocument
\blinddocument
\Part{Second Part}
\blinddocument
\blinddocument
\end{document}
However, you will still have the problem to reference, because if you say "see chapter 2" nobody will know, which chapter 2 you mean. And because the parts do not have a number, you cannot say "see chapter 2 in part 2", you always have to use the title of the part. So I would not recommend to combine resetting chapter numbers with ever part and not numbered parts:
Code: Select all
\documentclass{report}
\usepackage{blindtext}
\usepackage{hyperref}
\counterwithin*{chapter}{part}
\begin{document}
\tableofcontents
\part{First Part}
\blinddocument
\blinddocument
\part{Second Part}
\blinddocument
\blinddocument
\end{document}
works and so does:
Code: Select all
\documentclass{report}
\usepackage{blindtext}
\usepackage{hyperref}
\begin{document}
\tableofcontents
\part*{First Part}
\addcontentsline{toc}{part}{First Part}
\blinddocument
\blinddocument
\part*{Second Part}
\addcontentsline{toc}{part}{Seconde Part}
\blinddocument
\blinddocument
\end{document}
Note: If things are complicated in LaTeX they are often problematic for readers too.