[Tex/LaTex] Link to bibliography in the ToC fails


Possible Duplicate:
Incorrect bookmarks and page number in table of contents

I've created a table of contents with links to each chapter and section. I use this package


and I use this for bibliography

\bibitem{} bla bla bla

If I click on the item in table of contents, the bibliography's link is wrong: it is linked to the previous page.

How I can fix this problem?

Best Answer

This is discussed in the hyperref manual. Basically hyperref needs an anchor to produce the correct link. Add \phantomsection before \addcontentsline to provide one.

Related Question