1

I am using package hyperref. When I click at Chapter one of part two in PDF file, I jump to Chapter one of part one. How can I jump to Chapter one of part two? My code

\documentclass[12pt,a4paper]{book}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{hyperref}
\begin{document}
    \tableofcontents
    \part{Part One}
    \chapter{Chapter one}
    \section{Section one}
        \section{Section two}
        \chapter{Chapter two}
    \section{Section three}
    \section{Section four}  
        \part{Part One}
        \setcounter{chapter}0
    \chapter{Chapter one}
    \section{Section one}
    \section{Section two}
    \chapter{Chapter two}
    \section{Section three}
    \section{Section four}  
\end{document}

enter image description here

Bernard
  • 271,350

0 Answers0