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?
\frontmatteretc. 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\addcontentslinealone does of course not work for the link since there is no hyper anchor information -- this is set by using commands\chapter,\sectionwhen\refstepcounteris used inside. – Mar 17 '18 at 09:04