[XeTeX] cross references and hyperref

Pablo Rodríguez oinos at web.de
Fri Aug 17 21:06:13 CEST 2007


Hi there,

a friend of mine told me that a document generated with XeLaTeX had
wrong references, since the page numbers are right, but the anchor is wrong.

\documentclass{book}
\usepackage{hyperref}
\begin{document}
\section{section 1}
check this reference: \pageref{refer} (and this one: \ref{refer}).
\cleardoublepage
\label{refer}This is the reference.
\end{document}

In the example above, it seems that \pageref and \ref differ when
printing the reference, but it makes no difference when clicking on the
links (both seem to be anchored to the first section).

I'm using XeTeX 0.995 and xdvipdfmx-0.4. Is this bug still present in
version 0.996?

Thanks for your help,


Pablo


More information about the XeTeX mailing list