[pdftex] Wrong links to bibliography and index

Victor Ivrii vivrii at gmail.com
Mon Jan 8 09:49:03 CET 2007


On 1/8/07, Heiko Oberdiek <oberdiek at uni-freiburg.de> wrote:
> 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
>


Thanks a lot! I removed  \addcontentsline{toc}{chapter}{\indexname}
since it duplicated index in toc. Still lines

\cleardoublepage % ensure the right page
\phantomsection % sets an anchor


placed before

\input{book.bbl}

and before \printindex fixed the problem

Victor





> Yours sincerely
>   Heiko <oberdiek at uni-freiburg.de>
> --
> _______________________________________________
> pdftex mailing list
> pdftex at tug.org
> http://tug.org/mailman/listinfo/pdftex
>


-- 
========================
Victor Ivrii, Department of Mathematics, University of Toronto
http://www.math.toronto.edu/ivrii


More information about the pdftex mailing list