[Tex/LaTex] hyperref pagebackref: page number and link in references wrong

hyperref

I try to use hyperref with pagebackref to get a page number and a link for each of my references. My first pages have roman numbers (title page, …), later on I switch to arabic numbers.
For whatever reason the links in the references have the right page number but the link is wrong (somehow a negative offset).

I have a minimal example:

\documentclass[a4paper, 12pt, twoside]{report}
\usepackage[latin1]{inputenc} 
\usepackage[T1]{fontenc}
\usepackage[english,ngerman]{babel}
\usepackage[left=4cm,top=3cm,right=3cm,bottom=4cm]{geometry}
\usepackage[pdftex, plainpages=false, hypertexnames=false, pdfpagelabels=true,
    hyperindex=true, linktocpage, pagebackref=true, pdfa=true]{hyperref}

\begin{document}
\pagenumbering{roman}
\pagestyle{empty}
Titel

\setcounter{page}{1}
\tableofcontents
\newpage

\pagenumbering{arabic}
\pagestyle{plain} 
\chapter{one}
\section{one}
\newpage

\section{two}
Zitation~\cite{citation_key}

\bibliographystyle{plain}
\begin{thebibliography}{widest-label}
    \bibitem{citation_key}Autor: Titel. Verlag, Jahr.
\end{thebibliography}
  \end{document}

Any ideas?

Best Answer

I got a solution.

the hyperref option hypertexnames must be set to true (the default value).

In the first place this caused other problems with my template

(pdfTeX warning (ext4): destination with the same identifier (name{...}) has been already used, duplicate ignored ).

I could solve this problems using \Roman pagenumbering for the title page and similar, \roman pagenumbering for table of content and similar and \arabic pagenumbering for the rest of the document.

Tobias

Related Question