From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41963 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Re: [Dev-luatex] Unicode in \pdfinfo Date: Sat, 28 Jun 2008 20:54:27 +0300 Message-ID: <20080628175427.GA21418@khaled-laptop> References: <20080627210049.GA11255@khaled-laptop> <48656053.5040505@wxs.nl> <20080627233221.GA20243@khaled-laptop> <48662489.8070405@wxs.nl> <20080628121113.GA7362@khaled-laptop> <48662B6A.3020307@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1893817209==" X-Trace: ger.gmane.org 1214675732 9826 80.91.229.12 (28 Jun 2008 17:55:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Jun 2008 17:55:32 +0000 (UTC) Cc: ntg-context@ntg.nl To: Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Sat Jun 28 19:56:16 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1KCeef-0006M6-9g for gctc-ntg-context-518@m.gmane.org; Sat, 28 Jun 2008 19:56:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E5D1D1FCA1; Sat, 28 Jun 2008 19:55:16 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02073-01-8; Sat, 28 Jun 2008 19:55:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2748C1FC90; Sat, 28 Jun 2008 19:55:07 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B63221FC83 for ; Sat, 28 Jun 2008 19:55:04 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 00448-01-11 for ; Sat, 28 Jun 2008 19:54:34 +0200 (CEST) Original-Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.191]) by ronja.ntg.nl (Postfix) with ESMTP id BFF221FC5A for ; Sat, 28 Jun 2008 19:54:34 +0200 (CEST) Original-Received: by nf-out-0910.google.com with SMTP id c10so202842nfd.44 for ; Sat, 28 Jun 2008 10:54:34 -0700 (PDT) Original-Received: by 10.210.144.3 with SMTP id r3mr2412845ebd.136.1214675674589; Sat, 28 Jun 2008 10:54:34 -0700 (PDT) Original-Received: from localhost ( [41.234.92.186]) by mx.google.com with ESMTPS id m5sm6968251gve.3.2008.06.28.10.54.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 28 Jun 2008 10:54:33 -0700 (PDT) In-Reply-To: <48662B6A.3020307@wxs.nl> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:41963 Archived-At: --===============1893817209== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8GpibOaaTibBMecb" Content-Disposition: inline --8GpibOaaTibBMecb Content-Type: multipart/mixed; boundary="nFreZHaLTZJo0R7j" Content-Disposition: inline --nFreZHaLTZJo0R7j Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 28, 2008 at 02:15:38PM +0200, Hans Hagen wrote: > Khaled Hosny wrote: > >> Thanks for the clarification, I'm trying to understand how stuff works >> and this helps definitely. >> So, could we've this support at context level, and every one will be >> happy :) > > you can try the beta ... (best move the discussion to the context list = =20 > since it's not related that much to luatex) > Now I can get pdfinfo correctly, but bookmarks are now just long strings starting with "feff0", see the attached example. > i wonder what bidi does in bookmarks and so ... maybe more is needed > I don't think it'll need any special treatment since it'll rendered by the viewer UI widget, may be we need to strip formating commands if not done already. Regards, Khaled --=20 Khaled Hosny Arabic localizer and member of Arabeyes.org team --nFreZHaLTZJo0R7j Content-Type: text/x-tex; charset=utf-8 Content-Disposition: attachment; filename="bookmarks.tex" Content-Transfer-Encoding: quoted-printable % engine=3Dluatex \mainlanguage[ar] % Font \definefontfeature [arabic] [mode=3Dnode,language=3Ddflt,script=3Darab, init=3Dyes,medi=3Dyes,fina=3Dyes,isol=3Dyes, liga=3Dyes,dlig=3Dyes,rlig=3Dyes,clig=3Dyes, mark=3Dyes,mkmk=3Dyes,kern=3Dyes,curs=3Dyes] \starttypescript [serif] [arabic] \definefontsynonym [Arabic-Light] [name:arabtype] [features=3Darabic] \definefontsynonym [Arabic-Bold] [name:arabtype] [features=3Darabic] \definefontsynonym [Arabic-Italic] [name:arabtype] [features=3Darabic] \definefontsynonym [Arabic-Bold-Italic] [name:arabtype] [features=3Darabic] \stoptypescript \starttypescript [serif] [arabic] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [Arabic-Light] [features=3Darab= ic] \definefontsynonym [SerifItalic] [Arabic-Italic] [features=3Darab= ic] \definefontsynonym [SerifBold] [Arabic-Bold] [features=3Darab= ic] \definefontsynonym [SerifBoldItalic] [Arabic-Bold-Italic] [features=3Darab= ic] \stoptypescript \starttypescript [Arabic] \definetypeface [Arabic] [rm] [serif] [arabic] [default]=20 \stoptypescript=20 \def\ArabicGlobalDir {\pagedir TRT\bodydir TRT\pardir TRT\textdir TRT} \def\ArabicParDir {\textdir TRT\pardir TRT} \def\ArabicTextDir {\textdir TRT} \def\LatinParDir {\textdir TLT\pardir TLT} \def\LatinTextDir {\textdir TLT} \def\LatinGlobalDir {\pagedir TLT\bodydir TLT\pardir TLT\textdir TLT} \definestartstop [arabicpar] [commands=3D\Arabic\ArabicParDir] \define[1]\AR {{\Arabic\ArabicTextDir#1}} \define\setArabic {\ArabicGlobalDir% \usetypescript[Arabic]% \setupbodyfont[Arabic,20pt]} \definestartstop [latinpar] [commands=3D\Arabic\LatinParDir] \define[1]\LT {{\LatinTextDir#1}} \define\setLatin {\LatinGlobalDir% \usetypescript[lm]% \setupbodyfont[lm,20pt]} \setupinteraction[state=3Dstart] \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=3Dbookmark] \setupinteraction [state=3Dstart, title=3D{=D9=83=D9=8A=D9=81 =D8=AA=D9=83=D8=AA=D8=A8 =D8=B9=D8=B1=D8=A8= =D9=8A =D9=85=D8=B9 =D9=83=D9=8F=D9=86=D9=92=D8=AA=D9=90=D9=83=D9=90=D8=B3= =D9=92=D8=AA}, author=3D{=D8=AE=D8=A7=D9=84=D8=AF =D8=AD=D8=B3=D9=86=D9=8A}, subtitle=3D{=D8=B5=D9=81 =D8=A7=D9=84=D8=AD=D8=B1=D9=88=D9=81 =D8=AD=D8= =A7=D8=B3=D9=88=D8=A8=D9=8A=D8=A7 =D9=85=D8=B9 =D8=AA=D8=AE =D9=88=D9=83=D9= =86=D8=AA=D9=83=D8=B3=D8=AA}, keyword=3D{=D8=B9=D8=B1=D8=A8=D9=8A =D8=AA=D8=AE =D9=83=D9=86=D8=AA=D9= =83=D8=B3=D8=AA =D8=B5=D9=81 =D9=85=D8=AD=D8=A7=D8=B1=D9=81 =D8=B7=D8=A8=D8= =A7=D8=B9=D8=A9}] %there is a bug %\setcharactermirroring[1] \starttext \setArabic \startstandardmakeup \midaligned{=D9=83=D9=8A=D9=81 =D8=AA=D9=83=D8=AA=D8=A8 =D8=B9=D8=B1=D8= =A8=D9=8A =D9=81=D9=8A =D9=83=D9=8F=D9=86=D9=92=D8=AA=D9=90=D9=83=D9=90=D8= =B3=D9=92=D8=AA} \midaligned{=D9=83=D8=AA=D8=A8=D9=87} \midaligned{=D8=AE=D8=A7=D9=84=D8=AF =D8=AD=D8=B3=D9=86=D9=8A} \stopstandardmakeup \completecontent \chapter{=D9=85=D9=82=D8=AF=D9=85=D8=A9} =D9=83=D9=8F=D9=86=D9=92=D8=AA=D9=90=D9=83=D9=90=D8=B3=D9=92=D8=AA \LT{(\CO= NTEXT)} =D9=87=D9=88 =D8=AD=D8=B2=D9=85=D8=A9 =D9=85=D8=A7=D9=83=D8=B1=D9= =88 =D9=84=D9=86=D8=B8=D8=A7=D9=85 =D8=AA=D8=AE \LT{(\TeX)} =D9=84=D8=B5=D9= =81 =D8=A7=D9=84=D9=85=D8=AD=D8=A7=D8=B1=D9=81. \chapter{=D8=A3=D9=88=D9=84 =D9=81=D8=B5=D9=84} \section[firstsection]{=D8=A3=D9=88=D9=84 =D8=A8=D8=A7=D8=A8} =2E.. =D9=83=D9=84=D8=A7=D9=85 ... \section{=D8=AB=D8=A7=D9=86=D9=8A =D8=A8=D8=A7=D8=A8} =2E.. =D9=83=D9=84=D8=A7=D9=85\index{=D9=81=D9=87=D8=B1=D8=B3 =D8=A2=D8=AE= =D8=B1} ... \subsection{=D8=AB=D8=A7=D9=86=D9=8A =D9=85=D8=B3=D8=A3=D9=84=D8=A9} =2E.. =D9=83=D9=84=D8=A7=D9=85 ... \section{=D8=AB=D8=A7=D9=84=D8=AB =D8=A8=D8=A7=D8=A8} =2E.. =D9=83=D9=84=D8=A7=D9=85 ... \chapter{=D9=81=D8=B5=D9=84 =D8=A2=D8=AE=D8=B1} =2E.. =D9=83=D9=84=D8=A7=D9=85 ... \chapter[lastchapter]{=D8=A2=D8=AE=D8=B1 =D9=81=D8=B5=D9=84} =2E.. =D9=83=D9=84=D8=A7=D9=85 ... \completeindex \stoptext --nFreZHaLTZJo0R7j-- --8GpibOaaTibBMecb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFIZnrTRoqITGOuyPIRAiKMAJ9hI3DzaXvPmphz7KREHxVFB1qxOwCdH9Ds X3yUenYzTtD2ixwguLymlWc= =l2j5 -----END PGP SIGNATURE----- --8GpibOaaTibBMecb-- --===============1893817209== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1893817209==--