[XeTeX] Hyperref problem

jropers@freesurf.fr jropers at freesurf.Fr
Fri Jul 21 07:52:37 CEST 2006


Ross Moore wrote:
> Others are saying that they do not have this trouble, with
>    [dvipdfm] or [dvipdfmx] drivers.
> Perhaps a different mechanism is then being used to get
> the Unicode string from the UTF8 LaTeX source ?
>
>   
Hi Ross,

Thanks for your help,

I have found that there is some interaction with the option [unicode] given to hyperef (I probably read somewhere the suggestion to include it but I don't remember where).

With it there are some bookmarks errors (curiously not at the first compilation but only from the second). 
Without it, it seems to be ok (again it may necessitate 2 compilations to get rid of the error). 

The following sample shows this behaviour :

\documentclass[11pt,a4paper,dvipdfm]{article}
\usepackage{fontspec}
\usepackage{xunicode}
\usepackage[unicode]{hyperref}
\setromanfont[Mapping=tex-text]{Minion Pro}

\begin{document}
L'objectif primaire de l'étude était d'évaluer l'efficacité
\section { étude 001}
\subsection {étude 001-1}
\vspace{5cm}
étrange comme c'est étrange. 
\section {étude HPV 001}Some long text

\end{document}

I guess [unicode] to hypperef is a bad idea ?

Thanks again.


Jacques.





More information about the XeTeX mailing list