From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41829 Path: news.gmane.org!not-for-mail From: Khaled Hosny Newsgroups: gmane.comp.tex.context Subject: Unicode PDF bookmarks and headers Date: Sun, 22 Jun 2008 10:12:38 +0300 Message-ID: <20080622071238.GA8566@khaled-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="dDRMvlgZJXvWKvBx" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1214118908 11536 80.91.229.12 (22 Jun 2008 07:15:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Jun 2008 07:15:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 22 09:15:52 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 1KAJnk-0001mW-OO for gctc-ntg-context-518@m.gmane.org; Sun, 22 Jun 2008 09:15:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 77CA51FB8F; Sun, 22 Jun 2008 09:14:58 +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 08143-01-4; Sun, 22 Jun 2008 09:14:11 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B0D31FBA8; Sun, 22 Jun 2008 09:14:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D14E41FB98 for ; Sun, 22 Jun 2008 09:14:08 +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 08143-01-3 for ; Sun, 22 Jun 2008 09:13:33 +0200 (CEST) Original-Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.183]) by ronja.ntg.nl (Postfix) with ESMTP id 461ED1FBA8 for ; Sun, 22 Jun 2008 09:13:31 +0200 (CEST) Original-Received: by ik-out-1112.google.com with SMTP id c21so992951ika.2 for ; Sun, 22 Jun 2008 00:13:31 -0700 (PDT) Original-Received: by 10.210.10.1 with SMTP id 1mr4721259ebj.167.1214118810926; Sun, 22 Jun 2008 00:13:30 -0700 (PDT) Original-Received: from localhost ( [41.232.35.59]) by mx.google.com with ESMTPS id m5sm5498053gve.3.2008.06.22.00.13.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 22 Jun 2008 00:13:29 -0700 (PDT) Content-Disposition: inline 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:41829 Archived-At: --dDRMvlgZJXvWKvBx Content-Type: text/plain; charset=utf-8 Content-Disposition: inline I can't get Unicode (Arabic) PDF bookmarks or headers (see the attached file), even after including "\input spec-tst" after the wiki page http://wiki.contextgarden.net/PDF_Bookmarks_and_Headers But I get miss-encoded text instead, am I missing some thing? Regards, Khaled -- Khaled Hosny Arabic localizer and member of Arabeyes.org team --dDRMvlgZJXvWKvBx 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=3Darab= ic] \definefontsynonym [Arabic-Bold] [name:arabtype] [features=3Darab= ic] \definefontsynonym [Arabic-Italic] [name:arabtype] [features=3Darab= ic] \definefontsynonym [Arabic-Bold-Italic] [name:arabtype] [features=3Darab= ic] \stoptypescript \starttypescript [serif] [arabic] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [Arabic-Light] [features=3Dar= abic] \definefontsynonym [SerifItalic] [Arabic-Italic] [features=3Dar= abic] \definefontsynonym [SerifBold] [Arabic-Bold] [features=3Dar= abic] \definefontsynonym [SerifBoldItalic] [Arabic-Bold-Italic] [features=3Dar= abic] \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] \input spec-tst.tex \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 (\CONT= EXT) =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 (\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} ... =D9=83=D9=84=D8=A7=D9=85 ... \section{=D8=AB=D8=A7=D9=86=D9=8A =D8=A8=D8=A7=D8=A8} ... =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} ... =D9=83=D9=84=D8=A7=D9=85 ... \section{=D8=AB=D8=A7=D9=84=D8=AB =D8=A8=D8=A7=D8=A8} ... =D9=83=D9=84=D8=A7=D9=85 ... \chapter{=D9=81=D8=B5=D9=84 =D8=A2=D8=AE=D8=B1} ... =D9=83=D9=84=D8=A7=D9=85 ... \chapter[lastchapter]{=D8=A2=D8=AE=D8=B1 =D9=81=D8=B5=D9=84} ... =D9=83=D9=84=D8=A7=D9=85 ... \completeindex \stoptext --dDRMvlgZJXvWKvBx 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 ___________________________________________________________________________________ --dDRMvlgZJXvWKvBx--