[pdftex] Wrong links to bibliography and index

Heiko Oberdiek oberdiek at uni-freiburg.de
Mon Jan 8 09:35:53 CET 2007


On Mon, Jan 08, 2007 at 09:05:07AM +0200, Victor Ivrii wrote:

> Some time ago in old LaTeX file of my book I added hyperref. However I
> just noticed that while page numbers in TOC are indicated correctly,
> links to bibliography and index lead to the wrong page:

The principle is:

\cleardoublepage % ensure the right page
\phantomsection % sets an anchor
\addcontentsline{toc}{chapter}{\indexname}
\printindex

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the pdftex mailing list