Wrong hyperlinks in pdf-document using hyperref

Wrong hyperlinks in pdf-document using hyperref

Post by Mathias Neumuelle » Tue, 21 Aug 2001 19:01:14


I'm using dpflatex together with the package hyperref to generate
hyperlinks in my document. Most things work fine, but some of the
automatically generated hyperlinks in the table of contents lead to the
wrong destination.
I add an additional entry for the references section using:


Immediatly afterwards starts the appendix:


All entries in the toc appear correctly, i.e. the page numbers displayed
for the reference section and the beginning of the appendix are correct.
But cliking on the link to the references leads to the page immediatly
before, while the hyperlink to the appendix leads to the beginning of
the references, 4 pages before the start of the appendix. Any thoughts?

Thanks in advance,


Wrong hyperlinks in pdf-document using hyperref

Post by Heiko Oberdie » Tue, 21 Aug 2001 19:05:58

On Mon, 20 Aug 2001 11:01:14 +0100, Mathias Neumueller

> \clearpage

insert "\phantomsection" here to fix the problem.

Quote:> \addcontentsline{toc}{chapter}{\bibname}
> \bibliography{bibref}

Yours sincerely


1. More wrong hyperlinks using pdflatex


I posted a similar problem earlier in this newsgroup, but I'm still
having trouble with pdflatex and cross references. I have a fairly big
document and translate it using pdflatex into a pdf file. Everything
works fine, but some of the hyperlinks point completely in the wrong
direction. All references to a first figure within a chapter lead to the
first figure in appendix A. The links to the appendix section in the toc
and in the bookmarks lead to the references (the chapter before). The
structure of the bookmarks is a bit mesy as well. The appendix is shown
as subsection of the references, and its parts again as subsection of
it. All references and toc entries occur correctly in the prindet

I first thought it has something to do with the strange document class
I'm using (thesis), but the problems remain the same, if I go back to
the report class or the scrreprt class. I had a look at the .out and
some other auxilary files. The appendix subsection is a part entry, i.e.
its entries are at level -1. Is this confusing pdflatex? Surely I'm not
the first to have a report with an appendix and somebody shoul have come
across this problem before.

Any thoughts?
Thanks in advance,

2. Missed Cell Phone Calls

3. document trees and hyperlinks (hyperref) and portability

4. Plenum vs. non-plenum in the data center?

5. Convert HTML to PDF with hyperlink using pdftex?

6. Packet Mode on Primary Rate D-channel

7. hyperref producing wrong links in PDF

8. playing MODfiles hangs up the system

9. wrong hyperlinks for star-form chapters

10. addcontentsline of tableofcontent and wrong hyperlink

11. Targeting Windows from PDF Using hyperref.sty

12. using a page from a pdf-file in another document

13. Link to .wav file in .pdf document produced using pdftex ?