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
optionhypertexnames
must be set totrue
(the default value).In the first place this caused other problems with my template
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