[XeTeX] issue with hyperref and xetex

Ross Moore ross at ics.mq.edu.au
Tue Nov 17 20:54:29 CET 2009


Hi Vafa, Peter

On 18/11/2009, at 3:19 AM, Peter Dyballa wrote:

>
> Am 17.11.2009 um 14:43 schrieb Vafa Khalighi:
>
>> When I use hyperref with xelatex and I use say unicode characters  
>> (well
>> Persian alphabets) for some page numbers, the adobe reader does  
>> not display
>> them correctly.

Do you mean the display in the page-number selection field
in the Reader's tool-bar ? As in the attached image...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: XePersian-0.png
Type: image/png
Size: 56148 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20091118/7e2f510d/attachment-0001.png>
-------------- next part --------------

>
> To me it looks (in Skim) as if the page numbers of the frontmatter,  
> which with Latin or Cyrillic or Greek (?) scripts often are either  
> alphabet or Roman numerals. Then come a few pages with the Latin- 
> Arabic page numbers ? in European order...

Have you used the  'pdfpagelabels'  option to hyperref?
You should be able to do

     \thispdfpagelabel{...required label...}

on each of those frontmatter pages.


> A possible solution might be to use a macro name for the X?Persian  
> TeX page number in the front- and backmatter. This macro name could  
> then get from the actual TeX macro via the \pdfstringdef command  
> from hyperref a working "PDF representation" of the TeX macro's  
> contents...
>
> --
> Greetings
>
>   Pete


Hope this helps,

	Ross

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





More information about the XeTeX mailing list