From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47124 Path: news.gmane.org!not-for-mail From: "J.A.J. Pater" Newsgroups: gmane.comp.tex.context Subject: Re: XeTeX and/or LuaTeX? Date: Sat, 31 Jan 2009 00:14:31 +0100 Message-ID: <498389D7.1080006@gmail.com> References: <4982D69C.5050101@gmail.com> <68bfdc900901300239p239c4a43q5fc5d2b6c84e269b@mail.gmail.com> <4982E0A7.7060204@gmail.com> <49830B8A.8050008@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------080606090501020608030103" X-Trace: ger.gmane.org 1233357395 3660 80.91.229.12 (30 Jan 2009 23:16:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2009 23:16:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 31 00:17:47 2009 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 1LT2cE-0000Eq-Mv for gctc-ntg-context-518@m.gmane.org; Sat, 31 Jan 2009 00:17:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 085121FDDD; Sat, 31 Jan 2009 00:16:16 +0100 (CET) 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 08532-08; Sat, 31 Jan 2009 00:15:14 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4D6C91FDCE; Sat, 31 Jan 2009 00:15:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F232C1FDCE for ; Sat, 31 Jan 2009 00:15:12 +0100 (CET) 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 08645-08 for ; Sat, 31 Jan 2009 00:14:35 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id A0FB01FDCC for ; Sat, 31 Jan 2009 00:14:35 +0100 (CET) Original-Received: from mail-ew0-f13.google.com (mail-ew0-f13.google.com [209.85.219.13]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n0UNEYs7000513 for ; Sat, 31 Jan 2009 00:14:34 +0100 Original-Received: by ewy6 with SMTP id 6so941765ewy.2 for ; Fri, 30 Jan 2009 15:14:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type; bh=L9sCuJNJEXek52+35TkWHHuT+OL9nrbsKHUR06iwn2k=; b=iAe7HXrhmKeJABK4V5XfUEJJ0LmTCzyn0vhcufokoyORpvRaElVZXQp/ZtdgcdPRCS Pd67oHPTLhCUGCUaDkuPl/MIW80rTbZ+mVgdG//0YTag4lYc38nEMaqLuyqnqW4J+JT6 0S3qhmY9WlmULR8d0AFsWWirwe9bQD/2bDQT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=muiSPRAgcWRJEj27Ny1TGSgr/jJ4V/8VayN5WBlidsz8WJ9vOWTEkYQmuMYUorKPkg kl+ifJA9C7uIKCxdy6bQuaelwqCT9w9D6q8ffxy5m5o00xg36Yxwvu7cr4Vk1Ier4Bo9 A/d/DlNS3bJotMzzg0Dkl8Z4wjLw54PnEWyuY= Original-Received: by 10.210.144.3 with SMTP id r3mr1995395ebd.22.1233357273977; Fri, 30 Jan 2009 15:14:33 -0800 (PST) Original-Received: from ?192.168.2.100? (dsl-087-195-001-137.solcon.nl [87.195.1.137]) by mx.google.com with ESMTPS id c9sm442944nfi.5.2009.01.30.15.14.31 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 30 Jan 2009 15:14:33 -0800 (PST) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090105 Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0 In-Reply-To: <49830B8A.8050008@wxs.nl> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.13; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 173027831 - 8aecc9d7fe32 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:47124 Archived-At: This is a multi-part message in MIME format. --------------080606090501020608030103 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable I've already send a mail in reply to Hans, but it was to big since I=20 attached the TTF. I don't know if the moderator will approve of posting fonts. But it can also be found on the web:=20 http://scripts.sil.org/cms/scripts/page.php?site_id=3Dnrsi&id=3DEzraSIL_H= ome So the moderator can drop my last mail, it was to extensive anyway. Installed on my computer [Ubuntu Intrepid 8.10]=20 /usr/share/fonts/truetype/ttf-sil-ezra/SILEOT.ttf I got the font working by adapting the ara-sty from=20 http://wiki.contextgarden.net/Arabic_and_Hebrew to heb-sty (attached) I also adapted the example from the above link (attached as test.tex). I ran it with the minimals. Issues I still have: I don't know how to use Hebrew and Latin text next to each other. I don't like the font I get with \setlatin I don't want every word on a new page I don't have the faintest clue as to what I'm doing inside of heb-sty. What's important for me is to use hebrew text inside of latin text. I'd like to be able to do things like: \starttext This is the word for peace: \hebrew[=D7=A9=D7=9C=D7=9D]. Isn't that what we all wish for? \stoptext Many thanks to Hans and Mojca! Adriaan. P.S. If you're interested in what I don't get in ara-sty casu quo heb-sty= : 1. \mainlanguage[hebrew] The wiki: "Sets the main language to hebrew, so that translatable titles are translated to Arabic." What exactly does "translatable titles" mean in this senctence? The main language of my document is in Latin. 2a. Why all the following stuff: \starttypescript [serif] [hebrew] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [Ezra SIL] [features=3Dhebrew] \definefontsynonym [SerifItalic] [Ezra SIL] [features=3Dhebrew] \definefontsynonym [SerifBold] [Ezra SIL] [features=3Dhebrew] \definefontsynonym [SerifBoldItalic] [Ezra SIL] [features=3Dhebrew] \stoptypescript 2b. What does serif mean? 3. I don't get the defining of the directional commands either. 4. I absolutely don't get what I'm doing here \definestartstop [hebrewpar] [commands=3D\Hebrew\HebrewParDir] \define[1]\RT {{\Hebrew\HebrewTextDir#1}} --------------080606090501020608030103 Content-Type: text/x-tex; name="heb-sty.tex" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="heb-sty.tex" \startenvironment heb-sty \mainlanguage[hebrew] % Font setup \definefontfeature [hebrew] [mode=node,language=dflt,script=hebr, init=yes,medi=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,clig=yes, mark=yes,mkmk=yes,kern=yes,curs=yes] \starttypescript [serif] [hebrew] \definefontsynonym [Ezra SIL] [name:SILEOT] [features=hebrew] \stoptypescript \starttypescript [serif] [hebrew] [name] \usetypescript[serif][fallback] \definefontsynonym [Serif] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifItalic] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifBold] [Ezra SIL] [features=hebrew] \definefontsynonym [SerifBoldItalic] [Ezra SIL] [features=hebrew] \stoptypescript \starttypescript [Hebrew] \definetypeface [Hebrew] [rm] [serif] [hebrew] [default] \stoptypescript \def\HebrewGlobalDir {\pagedir TRT\bodydir TRT\pardir TRT\textdir TRT} \def\HebrewParDir {\textdir TRT\pardir TRT} \def\HebrewTextDir {\textdir TRT} \def\LatinParDir {\textdir TLT\pardir TLT} \def\LatinTextDir {\textdir TLT} \def\LatinGlobalDir {\pagedir TLT\bodydir TLT\pardir TLT\textdir TLT} \define\sethebrew {\HebrewGlobalDir% \usetypescript[Hebrew]% \setupbodyfont[Hebrew,20pt]} \definestartstop [hebrewpar] [commands=\Hebrew\HebrewParDir] \define[1]\RT {{\Hebrew\HebrewTextDir#1}} \define\setlatin {\LatinGlobalDir% \usetypescript[lm]% \setupbodyfont[lm,20pt]} \definestartstop [latinpar] [commands=\Hebrew\LatinParDir] \define[1]\LT {{\LatinTextDir#1}} \setcharactermirroring[1] \stopenvironment --------------080606090501020608030103 Content-Type: text/x-tex; name="test.tex" Content-Disposition: inline; filename="test.tex" Content-Transfer-Encoding: quoted-printable % engine=3Dluatex=20 \environment heb-sty \starttext This is a test. \sethebrew =D7=94=D6=B8=D7=9C=D6=B7=D7=9A \setlatin walking \stoptext --------------080606090501020608030103 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 ___________________________________________________________________________________ --------------080606090501020608030103--