In the MWE below, the hyperlink from the index page does not take you to the correct page to where the index is:

\usepackage{lipsum, fancyhdr}




% pagestyle{plain}



This is index ONE\index{One}
This is index TWO\index{Two}





If you click on the "2" in the index, you get taken to page ii instead of page 2 to where the index is.

Can you offer a solution so that if you click on the hyperlink in the index, you will be taken to the correct page?

  • This is maybe related.
    – Albert
    Jul 6 '20 at 22:36

I had the same problem, in Index, correct pagenumbers are displayed, but hyperref was pointing 3 pages before....

In my case, I solved it by putting a \pagenumbering{roman} directly after \begin{document}.


This seems to get the internal pagenumbering for \makeindex and hyperref straight.


With hypertexnames=false also correct index links are disabled, use the default value true instead.

Option breaklinks does not magically add support for breaking links across lines, if the driver does not support this. Then the text is broken across lines, but the link areas are quite wrong.

The data for the PDF information keys should be set after package hyperref is loaded via \hypersetup. Otherwise LaTeX will hard expand the values and garbage can be the result.

Option setting backref=true and pagebackref=true is contradictory. Either use the former with section back references or the latter with page number back references.

Also I recommend package bookmark for faster updated bookmarks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.