## Wrong hyperlinks in pdf-document using hyperref

### Wrong hyperlinks in pdf-document using hyperref

Hi!

I'm using dpflatex together with the package hyperref to generate
hyperlinks in my document. Most things work fine, but some of the
wrong destination.

\clearpage
\bibliography{bibref}

Immediatly afterwards starts the appendix:

\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?

Mathias

### Wrong hyperlinks in pdf-document using hyperref

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

> \clearpage

insert "\phantomsection" here to fix the problem.

> \bibliography{bibref}

Yours sincerely

Hi!

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
version.

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?