Search found 2 matches

by sonia_ppr
Wed Nov 04, 2009 12:43 pm
Forum: General
Topic: Wrong page numbers in TOC
Replies: 9
Views: 36421

Wrong page numbers in TOC

Never mind, found a solution on http://www.tug.org/applications/hyperref/manual.html:

just add \phantomsection before \addcontentsline:

Code: Select all

\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{\bibname}
\bibliographystyle{mystyle}
\bibliography{biblio}
Hope this helps someone :)

Sonia
by sonia_ppr
Wed Nov 04, 2009 12:14 pm
Forum: General
Topic: Wrong page numbers in TOC
Replies: 9
Views: 36421

Re: Wrong page numbers in TOC

Hi,

I have the same problem.
I applied the solution given here and it helped: pages numbers are correct in the table of contents.

BUT: I use the package hyperref to add links and the link generated in the table of contents for the bibliography takes me to the wrong place in the file (it takes me ...