1

My book consists of three parts \frontmatter, \mainmatter and \backmatter. It gives the desired output.

\frontmatter consists of titlepage, preface and acknowledgement. In the table of contents when I click on preface or acknowledgement it goes to titlepage.

Can anyone help please?

  • 2
    Isn't this the same question like this one, made from another account? https://tex.stackexchange.com/questions/420513/table-of-contents-not-going-to-the-page-when-clicked. Also \frontmatter etc. are not really parts, they change the numbering effectively. Please provide the minimal compilable document that has this issue –  Mar 17 '18 at 07:23
  • Probably related? https://tex.stackexchange.com/questions/193380/hyperref-pageref-links-point-to-first-page –  Mar 17 '18 at 07:36
  • Hi I used \addcontentline command to add to toc. Instead I changed it to \chapter{} and it works perfectly. – user157402 Mar 17 '18 at 08:24
  • 1
    @John: A manual \addcontentsline alone does of course not work for the link since there is no hyper anchor information -- this is set by using commands \chapter, \section when \refstepcounter is used inside. –  Mar 17 '18 at 09:04
  • https://tex.stackexchange.com/questions/420513/table-of-contents-not-going-to-the-page-when-clicked – Johannes_B Mar 18 '18 at 08:13

0 Answers0