[XeTeX] Hyperref problem

Ross Moore ross at ics.mq.edu.au
Fri Jul 21 06:50:09 CEST 2006


Hi Jacques,

On 21/07/2006, at 2:23 PM, jropers at freesurf.fr wrote:

> Here it does not work in a big document where the sections were :
>
> \section {étude }
> \section{Les sujets devaient être âgées }
> \section{Plusieurs échantillons}
>
> the content of the .out file :

OK; this is what I expected to be seeing.

> \BOOKMARK [1][-]{section.1}{\376\377\000é\000t\000u\000d\000e\000 
> \040}{}
> \BOOKMARK
> [1][-]{section.2}{\376\377\000L\000e\000s\000\040\000s\000u\000j 
> \000e\000t\000s\000\040\000d\000e\000v\000a\000i\000e\000n\000t\000 
> \040\000ê\000t\000r\000e\000\040\000â\000g\000é\000e\000s\000\040}{}
> \BOOKMARK
> [1][-]{section.3}{\376\377\000P\000l\000u\000s\000i\000e\000u\000r 
> \000s\000\040\000é\000c\000h\000a\000n\000t\000i\000l\000l\000o\000n 
> \000s}{}

Those bits   \000é  \000ê  etc.  are wrong,
and throw out the synchronisation of the byte stream.

Here's what it needs to look like to be correct (beware of line- 
breaks from the emailer):

\BOOKMARK [1][-]{section.1}{\376\377\000\351\000t\000u\000d\000e\000 
\040}{}
\BOOKMARK [1][]{section.2}{\376\377\000L\000e\000s\000\040\000s\000u 
\000j\000e\000t\000s\000\040\000d\000e\000v\000a\000i\000e\000n\000t 
\000\040\000\352\000t\000r\000e\000\040\000\342\000g\000\351\000e\000s 
\000\040}{}
\BOOKMARK [1][-]{section.3}{\376\377\000P\000l\000u\000s\000i\000e 
\000u\000r\000s\000\040\000\351\000c\000h\000a\000n\000t\000i\000l 
\000l\000o\000n\000s}{}


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 ?


Are you sure that you correctly tested different drivers ?
The .log  file should show exactly which driver was chosen,
via some lines like:

   *hyperref using default driver hpdftex*
   (... some path .../texmf/tex/latex/hyperref/hpdftex.def
   File: hpdftex.def 2000/07/17 v6.70p Hyperref driver for pdfTeX



> I will try later to reproduce the problem in a short example if I can.
>
> Jacques.


Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                         ross at maths.mq.edu.au
Mathematics Department                             office: E7A-419
Macquarie University                               tel: +61 +2 9850 8955
Sydney, Australia  2109                            fax: +61 +2 9850 8114
------------------------------------------------------------------------




More information about the XeTeX mailing list