[pdftex] Hyperref: Problems w/ pagebackref and pdfpagelabels

Heiko Oberdiek oberdiek at ruf.uni-freiburg.de
Tue Dec 18 00:12:52 CET 2001


On Mon, 17 Dec 2001, Berthold Crysmann wrote:

> In a document using the book class (with frontmatter and mainmatter) I
> load hyperref with
>
> plainpages=false
> pdfpagelabels
>
> With these options, there's no problem having the page counter reset at
> the beginning of the first real chapter (toc etc. have roman page
> numbers).
>
> pagebackref however sets the hyperlink tom the wrong page number.
>
> Example:
>
> 6 pages frontmatter in roman
> then counter reset and mainmatter in arabic

A minimal test file would be of more help.
With your informations I get a correct file:

\documentclass{book}
\usepackage[plainpages=false,pdfpagelabels,pagebackref]{hyperref}
\begin{document}
\frontmatter
Hello World (frontmatter): \cite{a}
\mainmatter
Hello World (mainmatter): \cite{a}
\chapter{Chapter}
\cite{a}

\begin{thebibliography}{999}
\bibitem{a} Foo bar

\end{thebibliography}
\end{document}

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>




More information about the pdftex mailing list