<div dir="ltr"><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Heiko Oberdiek</b> <span dir="ltr"><<a href="mailto:oberdiek@uni-freiburg.de">oberdiek@uni-freiburg.de</a>></span><br>
Date: Thu, Nov 19, 2009 at 11:21 PM<br>Subject: Re: page numbering in hyperref<br>To: Vafa Khalighi <<a href="mailto:vafa@users.berlios.de">vafa@users.berlios.de</a>><br><br><br><div class="im">On Thu, Nov 19, 2009 at 07:10:26PM +1100, Vafa Khalighi wrote:<br>
<br>
> Do you know how can I tell hyperref package to understand unicode page<br>
> numbering? for example hyperref understands alph and Alph page numbering and<br>
> they are shown in adobe reader toolbar correctly. But if I define a page<br>
> numbering style say `harfi' that is just Persian alphabets, and use hyperref<br>
> package, the adobe reader does not show it correctly. For example I define<br>
> harfi counter as<br>
><br>
</div>> \def\@harfi#1{\ifcase#1\or ??????\or ??\or ??\or ??\or ??\or<br>
> ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\or<br>
> ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\or ??\else\@ctrerr\fi}<br>
<div class="im">> \def\harfi#1{\expandafter\@harfi\csname c@#1\endcsname}<br>
<br>
</div>Currently hyperref doesn't support character codes >= 256.<br>
I assume XeTeX/xdvipdfmx does some special stuff with outlines,<br>
because there is a \special for outlines only. But this would<br>
be difficult for page labels.<br>
<br>
It's on the ToDo list to improve hyperref in this manner. However<br>
I cannot say, when it will be done.<br>
<br>
Yours sincerely<br>
<font color="#888888"> Heiko <<a href="mailto:oberdiek@uni-freiburg.de">oberdiek@uni-freiburg.de</a>><br>
</font></div><br><br clear="all"><br>-- <br>Vafa<br>
</div>