From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87215 Path: news.gmane.org!not-for-mail From: Michael Ash Newsgroups: gmane.comp.tex.context Subject: Re: Hebrew vowel placement in ConTeXt. (Rik Kabel) Date: Sat, 3 May 2014 17:16:49 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1632518658==" X-Trace: ger.gmane.org 1399151861 31235 80.91.229.3 (3 May 2014 21:17:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 3 May 2014 21:17:41 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat May 03 23:17:36 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WghJN-00041u-W0 for gctc-ntg-context-518@m.gmane.org; Sat, 03 May 2014 23:17:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 744841022C for ; Sat, 3 May 2014 23:17:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QeScvSRLPEEo for ; Sat, 3 May 2014 23:17:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B00C01020D for ; Sat, 3 May 2014 23:17:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0054101EA for ; Sat, 3 May 2014 23:17:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2iL1ssCCuI5y for ; Sat, 3 May 2014 23:17:22 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 20EAF101E1 for ; Sat, 3 May 2014 23:17:13 +0200 (CEST) Original-Received: from mailhub2.oit.umass.edu (mailhub2.oit.umass.edu [128.119.103.54]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s43LcF2q024221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 3 May 2014 23:38:16 +0200 Original-Received: from mailhub2.oit.umass.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id E1EA34615C2 for ; Sat, 3 May 2014 17:17:09 -0400 (EDT) Original-Received: from mail-qc0-f175.google.com (mail-qc0-f175.google.com [209.85.216.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (not verified)) (Authenticated sender: maash) by mailhub2.oit.umass.edu (Postfix) with ESMTPSA id C7EA1460E80 for ; Sat, 3 May 2014 17:17:09 -0400 (EDT) Original-Received: by mail-qc0-f175.google.com with SMTP id w7so4684831qcr.20 for ; Sat, 03 May 2014 14:17:09 -0700 (PDT) X-Received: by 10.224.69.130 with SMTP id z2mr33192890qai.87.1399151829475; Sat, 03 May 2014 14:17:09 -0700 (PDT) Original-Received: by 10.96.35.99 with HTTP; Sat, 3 May 2014 14:16:49 -0700 (PDT) X-PMX-Version: 6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.5.3.210919 X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=128.119.103.54; country=US; region=Massachusetts; city=Amherst; latitude=42.3896; longitude=-72.4534; http://maps.google.com/maps?q=42.3896,-72.4534&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01LVxCgib - 373cf029036c - 20140503 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:87215 Archived-At: --===============1632518658== Content-Type: multipart/alternative; boundary=001a11c2c166c86b0404f8856be3 --001a11c2c166c86b0404f8856be3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thank you very much for the reply. I switched to ConTeXt standalone and now it is working. Best, Michael This works: \usemodule[simplefonts] \definefontfeature[hebrew][default][script=3Dhebr,ccmp=3Dyes] \setmainfont[Ezra SIL SR][features=3Dhebrew] \setupdirections[bidi=3Don] \starttext =D7=91=D6=B0=D7=A8=D6=B5=D7=90=D7=A9=D6=B4=D6=96=D7=99=D7=AA =D7=91=D6=B8= =D7=A8=D6=B8=D6=A3=D7=90 =D7=90=D6=B1=D7=9C=D6=B9=D7=94=D6=B4=D6=91=D7=99= =D7=9D =D7=90=D6=B5=D6=A5=D7=AA =D7=94=D6=B7=D7=A9=D6=B8=D7=9E=D6=B7=D6=96= =D7=99=D6=B4=D7=9D =D7=95=D6=B0=D7=90=D6=B5=D6=A5=D7=AA =D7=94=D6=B8=D7=90= =D6=B8=D6=BD=D7=A8=D6=B6=D7=A5 \stoptext BTW what is the \definefontfamily syntax that would work with \setupbodyfont in the new post-simplefonts era? Best, Michael PS Just FYI here is what I had been working with: What platform are you using, what version of Ezra SIL SR (likely 2.51, > but worth asking)? I am using linux (ubuntu 14.04) fonts-sil-ezra package Package fonts-sil-ezra: i 2.51-8 trusty 500 (I presume this means version 2.51.) I am using the current ppa:reviczky/context-daily version of context: ConTeXt ver: 2014.03.25 16:58 MKIV beta fmt: 2014.5.1 int: english/english Here is the error message that I was receiving (when I include "script=3Dhebr"): <+ /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua>)error: /usr/share/texmf/tex/context/base/font-otn.lua:805: attempt to call upvalue 'getprop' (a nil value) > > May I bump? > > > > The following code used to work, but now it gives an error: > > > > \usemodule[simplefonts] > > > \definefontfeature[hebrew][default][mode=3Dnode,script=3Dhebr,language=3D= dflt,mark=3Dyes,ccmp=3Dyes] > > \setmainfont[Ezra SIL SR][features=3Dhebrew] > > \setupdirections[bidi=3Don] > > \starttext > > ?????????? ?????? ????????? ???? ?????????? ?????? ???????? > > \stoptext > > > > The following variant (without "script=3Dhebr") compiles but the vowels > > are misplaced (not centered below the letters), which "ccmp=3Dyes" (see > > http://www.microsoft.com/typography/otspec/features_ae.htm#ccmp) is > > supposed to request: > > > > \usemodule[simplefonts] > > > \definefontfeature[hebrew][default][mode=3Dnode,language=3Ddflt,mark=3Dye= s,ccmp=3Dyes] > > \setmainfont[Ezra SIL SR][features=3Dhebrew] > > \setupdirections[bidi=3Don] > > \starttext > > ?????????? ?????? ????????? ???? ?????????? ?????? ???????? > > \stoptext > > > > The problem in definefontfeature seems to be that the feature > > "ccmp=3Dyes" is not taking effect, and the feature "script=3Dhebr" > > generates an error. > > > > Thank you very much for your advice. > > > > Michael > > Michael, > > Sorry to say, no problem here with your example, and trimming the second > line even further to > > \definefontfeature[hebrew][default][script=3Dhebr,ccmp=3Dyes] > > > still produces results with no errors and proper nikkud alignment (run > on a system running Windows 8.1 x64 and ConTeXt standalone 2014-04-28 > standard and jit). > > Similarly, no problem with traditional font definition without simplefont= s. > > --001a11c2c166c86b0404f8856be3 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

Thank you very much for the reply. =C2=A0
I switched to ConTeXt standalone and now it is working.=C2=A0
=

Best,
Michael


This w= orks:=C2=A0

\usemodule[simplefonts]
\definefontfeature[hebrew][default][script=3Dhebr,ccmp=3Dyes]
\s= etmainfont[Ezra SIL SR][features=3Dhebrew]
\setupdirections[bidi=3Don]
\starttext
=D7=91=D6= =B0=D7=A8=D6=B5=D7=90=D7=A9=D6=B4=D6=96=D7=99=D7=AA =D7=91=D6=B8=D7=A8=D6= =B8=D6=A3=D7=90 =D7=90=D6=B1=D7=9C=D6=B9=D7=94=D6=B4=D6=91=D7=99=D7=9D =D7= =90=D6=B5=D6=A5=D7=AA =D7=94=D6=B7=D7=A9=D6=B8=D7=9E=D6=B7=D6=96=D7=99=D6= =B4=D7=9D =D7=95=D6=B0=D7=90=D6=B5=D6=A5=D7=AA =D7=94=D6=B8=D7=90=D6=B8=D6= =BD=D7=A8=D6=B6=D7=A5
\stoptext

BTW what is the \definefontfamily syntax that would work with = \setupbodyfont in the new post-simplefonts era?

Best,
Michael

= PS Just FYI here is what I had been working with:

<= div>
What platform are you using, what version of Ezra SIL SR (likely 2.51,
b= ut worth asking)?

I am using linux (u= buntu 14.04)=C2=A0

fonts-sil-ezra package
Package fonts-sil-ezra: =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0
i =C2=A0 2.51-8 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 trusty =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0500=C2= =A0
(I presume this means version 2.51.)

I am using the current ppa:reviczky/context-daily version of context= :

ConTeXt =C2=A0ver: 2014.03.25 16:58 MKIV beta =C2= =A0fmt: 2014.5.1 =C2=A0int: english/english

= Here is the error message that I was receiving (when I include "script= =3Dhebr"):

<+ /usr/share/texmf/tex/context/third/simplefon= ts/t-simplefonts.lua>)error: /usr/share/texmf/tex/context/base/font-otn.= lua:805: attempt to call upvalue 'getprop' (a nil value)





=


=C2=A0
> May I bump?
>
> The following code used to work, but now it gives an error:
>
> \usemodule[simplefonts]
> \definefontfeature[hebrew][default][mode=3Dnode,script=3Dhebr,language= =3Ddflt,mark=3Dyes,ccmp=3Dyes]
> \setmainfont[Ezra SIL SR][features=3Dhebrew]
> \setupdirections[bidi=3Don]
> \starttext
> ?????????? ?????? ????????? ???? ?????????? ?????? ????????
> \stoptext
>
> The following variant (without "script=3Dhebr") compiles but= the vowels
> are misplaced (not centered below the letters), which "ccmp=3Dyes= " (see
> http://www.microsoft.com/typography/otspec/features= _ae.htm#ccmp) is
> supposed to request:
>
> \usemodule[simplefonts]
> \definefontfeature[hebrew][default][mode=3Dnode,language=3Ddflt,mark= =3Dyes,ccmp=3Dyes]
> \setmainfont[Ezra SIL SR][features=3Dhebrew]
> \setupdirections[bidi=3Don]
> \starttext
> ?????????? ?????? ????????? ???? ?????????? ?????? ????????
> \stoptext
>
> The problem in definefontfeature seems to be that the feature
> "ccmp=3Dyes" is not taking effect, and the feature "scr= ipt=3Dhebr"
> generates an error.
>
> Thank you very much for your advice.
>
> Michael

Michael,

Sorry to say, no problem here with your example, and trimming the second line even further to

=C2=A0 =C2=A0 \definefontfeature[hebrew][default][script=3Dhebr,ccmp=3Dyes]=


still produces results with no errors and proper nikkud alignment (run
on a system running Windows 8.1 x64 and ConTeXt standalone 2014-04-28
standard and jit).

Similarly, no problem with traditional font definition without simplefonts.=

--001a11c2c166c86b0404f8856be3-- --===============1632518658== 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1632518658==--