[XeTeX] Hyperref problem

jropers@freesurf.fr jropers at freesurf.Fr
Fri Jul 21 06:23:40 CEST 2006


In the process of making a short minimal example, I discovered that it 
works sometimes, and sometimes not.

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 :
\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}{}


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

Jacques.


Ross Moore wrote:
> On 21/07/2006, at 6:24 AM, jropers at freesurf.fr wrote:
>
>   
>> I confirm that no matter the option I put in
>> \documentclass[dvipdfm]{article} : [dvipdfm] or [dvipdfmx] or nothing,
>> glyphs are changed to squares in the bookmarks as soon as the first
>> accented character occurs in the string of \section{text}.
>>     
>
> I can believe that.
> Can you send a short example, along with the .out file that results.
>
> My guess is that hyperref's  \HyPsd@@ConvertToUnicode  macro is not
> sophisticated enough to know how to convert UTF8 multi-byte characters
> into the double-octal notation that it uses for Unicode code-points.
>
> If those characters were active (i.e. essentially macros) then
> you would need to supply alternative expansions to get into that
> form when a Bookmark is being processed.
> I do this for mathematical symbols with pdfTeX .
>
> However this method is not available for non-active UTF8 characters.
>
> A different thread today, about  xeruby.sty  addresses the same
> problem, doesn't it ?
>
>
>   
>> Thanks
>>
>> 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
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex
>
>   



More information about the XeTeX mailing list