From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/87180 Path: news.gmane.org!not-for-mail From: Michael Ash Newsgroups: gmane.comp.tex.context Subject: Re: Hebrew vowel placement in ConTeXt. Date: Thu, 1 May 2014 01:28:16 -0400 Message-ID: References: <12604_1371486185_51BF37E9_12604_399_1_op.wytzrxjlpw6hmh@ishamid-pc> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0424041305==" X-Trace: ger.gmane.org 1398922154 18489 80.91.229.3 (1 May 2014 05:29:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 May 2014 05:29:14 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu May 01 07:29:10 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 1WfjYT-0006q5-H7 for gctc-ntg-context-518@m.gmane.org; Thu, 01 May 2014 07:29:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D17D610248 for ; Thu, 1 May 2014 07:29:08 +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 FrcKhYzfqtrR for ; Thu, 1 May 2014 07:29:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 86E2B1025C for ; Thu, 1 May 2014 07:29:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8FA9D101E9 for ; Thu, 1 May 2014 07:28:59 +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 5AhYqMr-u1Dw for ; Thu, 1 May 2014 07:28:48 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 5EFC6101E1 for ; Thu, 1 May 2014 07:28:39 +0200 (CEST) Original-Received: from mailhub2.oit.umass.edu (mailhub2.oit.umass.edu [128.119.103.54]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s415SbPG007518 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 1 May 2014 07:28:38 +0200 Original-Received: from mailhub2.oit.umass.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 1573A462113 for ; Thu, 1 May 2014 01:28:37 -0400 (EDT) Original-Received: from mail-qc0-f174.google.com (mail-qc0-f174.google.com [209.85.216.174]) (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 DD8574608CC for ; Thu, 1 May 2014 01:28:36 -0400 (EDT) Original-Received: by mail-qc0-f174.google.com with SMTP id c9so2907828qcz.5 for ; Wed, 30 Apr 2014 22:28:36 -0700 (PDT) X-Received: by 10.224.69.130 with SMTP id z2mr10929569qai.87.1398922116583; Wed, 30 Apr 2014 22:28:36 -0700 (PDT) Original-Received: by 10.96.35.72 with HTTP; Wed, 30 Apr 2014 22:28:16 -0700 (PDT) In-Reply-To: X-PMX-Version: 6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.5.1.51819 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: 0WLUtsC5H - cbd1544f5b6b - 20140501 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:87180 Archived-At: --===============0424041305== Content-Type: multipart/alternative; boundary=001a11c2c166d3d79104f84fefec --001a11c2c166d3d79104f84fefec Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable This seems to have broken in my latest upgrade. The diacriticals (vowels) are no longer centered under the Hebrew lettes. They are now misaligned again. Also, the script=3Dhebr option in definefontfeature now generates an error (see the original code in the second message). The following code works but with misaligned vowels. So the ccmp option doesn't seem to be working anymore. \usemodule[simplefonts] \definefontfeature[hebrew][default][ccmp=3Dyes,mark=3Dyes] \setmainfont[Ezra SIL][features=3Dhebrew] \setupalign[r2l] \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 Thank you very much for suggestions. Best, Michael On Mon, Jun 17, 2013 at 2:18 PM, Michael Ash wrote: > There is a nice answer from W. Schuster to the vowel placement question i= n > the archives at http://www.ntg.nl/pipermail/ntg-context/2011/059969.html = (I > didn't find it because the subject is "Misaligned Marks" rather than > "Hebrew vowel placement" but it resolves the question. (Idris's > suggestions regarding options to \definefontfeature were right on -- > thanks) and I also learned more about \setupalign > http://wiki.contextgarden.net/Command/setupalign > > " > *I am trying to set some text in Hebrew with diacritical marks, and > whenever there is a diacritical that's supposed to come in the middle of = a > letter, all the marks are coming off misaligned, right after the glyph > rather than in the middle of it (or wherever they're supposed to be)." * > > Solution: > > \usemodule[simplefonts] > > \definefontfeature[hebrew][default][script=3Dhebr,ccmp=3Dyes,mark=3Dyes] > > \setmainfont[Ezra SIL][features=3Dhebrew] > > \setupalign[r2l] > > \starttext > =D7=91=D6=B0=D6=BC=D7=A8=D6=B5=D7=90=D7=A9=D6=B4=D7=81=D6=96=D7=99=D7=AA = =D7=91=D6=B8=D6=BC=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= =D6=BC=D7=81=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 > > > > Thanks all. > > > > > > On Mon, Jun 17, 2013 at 12:31 PM, Michael Ash wrote= : > >> Thank you. The unicode text looked good (although reversed left-to-right >> as I sent it) in my sent mail, and it looked perfect (corrected >> right-to-left) in your response. But it did not look good in the digest >> email (all the letters were convered to ?'s). >> >> Also it's typesetting fine in ConTeXt except for the vowel placement. >> Any suggestions there? Thank you again. >> >> Yours, >> Michael >> >> >> >> On Mon, Jun 17, 2013 at 12:22 PM, Idris Samawi Hamid =D8=A7=D8=AF=D8=B1= =D9=8A=D8=B3 =D8=B3=D9=85=D8=A7=D9=88=D9=8A =D8=AD=D8=A7=D9=85=D8=AF < >> ishamid@colostate.edu> wrote: >> >>> Greetings, Michael, >>> >>> >>> On Mon, 17 Jun 2013 10:15:11 -0600, Michael Ash >>> wrote: >>> >>> Is there a standard way to send unicode text to this list? >>>> >>> >>> Your Unicode text came through perfectly: >>> >>> >>> \textdir TRT >>>> \hebrew >>>> =D7=9C=D6=B8=D7=9B=D6=B5=D7=9F =D7=97=D6=B7=D7=9B=D6=BC=D7=95=D6=BC=D6= =BE=D7=9C=D6=B4=D7=99 =D7=A0=D6=B0=D7=90=D6=BB=D7=9D=D6=BE=D7=99=D6=B0=D7= =94=D7=95=D6=B8=D7=94 =D7=9C=D6=B0=D7=99=D7=95=D6=B9=D7=9D =D7=A7=D7=95=D6= =BC=D7=9E=D6=B4=D7=99 =D7=9C=D6=B0=D7=A2=D6=B7=D7=93 =D7=9B=D6=BC=D6=B4=D7= =99 =D7=9E=D6=B4=D7=A9=D7=81=D6=B0=D7=A4=D6=BC=D6=B8=D7=98=D6=B4=D7=99 >>>> =D7=9C=D6=B6=D7=90=D6=B1=D7=A1=D6=B9=D7=A3 =D7=92=D6=BC=D7=95=D6=B9=D7= =99=D6=B4=D7=9D =D7=9C=D6=B0=D7=A7=D6=B8=D7=91=D6=B0=D7=A6=D6=B4=D7=99 =D7= =9E=D6=B7=D7=9E=D6=B0=D7=9C=D6=B8=D7=9B=D7=95=D6=B9=D7=AA =D7=9C=D6=B4=D7= =A9=D7=81=D6=B0=D7=A4=D6=BC=D6=B9=D7=9A=D6=B0 =D7=A2=D6=B2=D7=9C=D6=B5=D7= =99=D7=94=D6=B6=D7=9D =D7=96=D6=B7=D7=A2=D6=B0=D7=9E=D6=B4=D7=99 =D7=9B=D6= =BC=D6=B9=D7=9C >>>> =D7=97=D6=B2=D7=A8=D7=95=D6=B9=D7=9F =D7=90=D6=B7=D7=A4=D6=BC=D6=B4=D7= =99 =D7=9B=D6=BC=D6=B4=D7=99 =D7=91=D6=BC=D6=B0=D7=90=D6=B5=D7=A9=D7=81 =D7= =A7=D6=B4=D7=A0=D6=B0=D7=90=D6=B8=D7=AA=D6=B4=D7=99 =D7=AA=D6=BC=D6=B5=D7= =90=D6=B8=D7=9B=D6=B5=D7=9C =D7=9B=D6=BC=D6=B8=D7=9C=D6=BE=D7=94=D6=B8=D7= =90=D6=B8=D7=A8=D6=B6=D7=A5=D7=83 >>>> \stoptext >>>> >>> >>> Maybe the encoding of your browser/mail-client needs to be set to >>> "Unicode" ("Automatic" usually works too). >>> >>> For high-level text-direction control, you may experiment with >>> >>> \righttoleft >>> \lefttoright >>> >>> as well as >>> >>> \setupdirections[bidi=3Dglobal] >>> \setupdirections[bidi=3Dlocal] >>> >>> Best wishes >>> Idris >>> -- >>> Professor Idris Samawi Hamid >>> Department of Philosophy >>> Colorado State University >>> Fort Collins, CO 80523 >> >> >> >> >> -- >> Michael Ash, Chair, Department of Economics >> Professor of Economics and Public Policy >> University of Massachusetts >> Amherst, MA 01003 >> Email mash@econs.umass.edu >> Tel +1-413-545-2590 Twitter @michaelaoash >> > > > > -- > Michael Ash, Chair, Department of Economics > Professor of Economics and Public Policy > University of Massachusetts > Amherst, MA 01003 > Email mash@econs.umass.edu > Tel +1-413-545-2590 Twitter @michaelaoash > --=20 Michael Ash, Chair, Department of Economics Professor of Economics and Public Policy University of Massachusetts Amherst Amherst, MA 01003 Email mash@econs.umass.edu Tel +1-413-545-2590 Twitter https://twitter.com/michaelaoash --001a11c2c166d3d79104f84fefec Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This seems to have broken in my latest upgrade. =C2=A0The = diacriticals (vowels) are no longer centered under the Hebrew lettes. =C2= =A0They are now misaligned again.

Also, the script=3Dheb= r option in definefontfeature now generates an error (see the original code= in the second message). The following code works but with misaligned vowel= s. So the ccmp option doesn't seem to be working anymore.=C2=A0

\usemodule[simplefonts]
\definefontfeatu= re[hebrew][default][ccmp=3Dyes,mark=3Dyes]
\setmainfont[Ezra = SIL][features=3Dhebrew]
\setupalign[r2l]
\start= text
=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


Thank you very much for suggestions. =C2=A0<= /div>

Best,
Michael




On Mon, Jun 17, 2013 at 2:18 PM, Michael Ash <mash@econs.umass.edu> wrote:=
There is a nice answer from W. Schuster to the vowel = placement question in the archives at=C2=A0http://www.ntg.nl/pi= permail/ntg-context/2011/059969.html=C2=A0(I didn't find it because= the subject is "Misaligned Marks" rather than "Hebrew vowel= placement" but it resolves the question. =C2=A0(Idris's suggestio= ns regarding options =C2=A0to \definefontfeature were right on -- thanks) a= nd I also learned more about \setupalign=C2=A0http://wiki.contextgarden= .net/Command/setupalign

"I am trying to set some text in Hebrew with di= acritical marks, and whenever there is a diacritical that's supposed to= come in the middle of a letter, all the marks are coming off misaligned, r= ight after the glyph rather than in the middle of it (or wherever they'= re supposed to be)."

Solution:
\usemodule[simplefon=
ts]

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

\setmainfont[Ezra SIL][features=3Dhebrew]

\setupalign[r2l]

\starttext
=D7=91=D6=B0=D6=BC=D7=A8=D6=B5=D7=90=D7=A9=D6=B4=D7=81=D6=96=D7=99=D7=AA =
=D7=91=D6=B8=D6=BC=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=
=D6=BC=D7=81=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


Thanks all.




On Mon, Jun 17, 2013 at 12:31 PM, Michael Ash = <mash@econs.umass.edu> wrote:
Thank you. The unicode text looked good (although reversed= left-to-right as I sent it) in my sent mail, and it looked perfect (correc= ted right-to-left) in your response. =C2=A0But it did not look good in the = digest email (all the letters were convered to ?'s). =C2=A0

Also it's typesetting fine in ConTeXt except for the vow= el placement. =C2=A0Any suggestions there? =C2=A0Thank you again.

Yours,
Michael


<= div>

On Mon, Jun 17, 2013 at 12:22 PM, Idris Samawi H= amid =D8=A7=D8=AF=D8=B1=D9=8A=D8=B3 =D8=B3=D9=85=D8=A7=D9=88=D9=8A =D8=AD= =D8=A7=D9=85=D8=AF <ishamid@c= olostate.edu> wrote:
Greetings, Michael,


On Mon, 17 Jun 2013 10:15:11 -0600, Michael Ash <= mash@econs.umass.edu> wrote:

Is there a standard way to send unicode text to this list?

Your Unicode text came through perfectly:


\textdir TRT
\hebrew
=D7=9C=D6=B8=D7=9B=D6=B5=D7=9F =D7=97=D6=B7=D7=9B=D6=BC=D7=95=D6=BC=D6=BE= =D7=9C=D6=B4=D7=99 =D7=A0=D6=B0=D7=90=D6=BB=D7=9D=D6=BE=D7=99=D6=B0=D7=94= =D7=95=D6=B8=D7=94 =D7=9C=D6=B0=D7=99=D7=95=D6=B9=D7=9D =D7=A7=D7=95=D6=BC= =D7=9E=D6=B4=D7=99 =D7=9C=D6=B0=D7=A2=D6=B7=D7=93 =D7=9B=D6=BC=D6=B4=D7=99 = =D7=9E=D6=B4=D7=A9=D7=81=D6=B0=D7=A4=D6=BC=D6=B8=D7=98=D6=B4=D7=99 =D7=9C= =D6=B6=D7=90=D6=B1=D7=A1=D6=B9=D7=A3 =D7=92=D6=BC=D7=95=D6=B9=D7=99=D6=B4= =D7=9D =D7=9C=D6=B0=D7=A7=D6=B8=D7=91=D6=B0=D7=A6=D6=B4=D7=99 =D7=9E=D6=B7= =D7=9E=D6=B0=D7=9C=D6=B8=D7=9B=D7=95=D6=B9=D7=AA =D7=9C=D6=B4=D7=A9=D7=81= =D6=B0=D7=A4=D6=BC=D6=B9=D7=9A=D6=B0 =D7=A2=D6=B2=D7=9C=D6=B5=D7=99=D7=94= =D6=B6=D7=9D =D7=96=D6=B7=D7=A2=D6=B0=D7=9E=D6=B4=D7=99 =D7=9B=D6=BC=D6=B9= =D7=9C =D7=97=D6=B2=D7=A8=D7=95=D6=B9=D7=9F =D7=90=D6=B7=D7=A4=D6=BC=D6=B4= =D7=99 =D7=9B=D6=BC=D6=B4=D7=99 =D7=91=D6=BC=D6=B0=D7=90=D6=B5=D7=A9=D7=81 = =D7=A7=D6=B4=D7=A0=D6=B0=D7=90=D6=B8=D7=AA=D6=B4=D7=99 =D7=AA=D6=BC=D6=B5= =D7=90=D6=B8=D7=9B=D6=B5=D7=9C =D7=9B=D6=BC=D6=B8=D7=9C=D6=BE=D7=94=D6=B8= =D7=90=D6=B8=D7=A8=D6=B6=D7=A5=D7=83
\stoptext

Maybe the encoding of your browser/mail-client needs to be set to "Uni= code" ("Automatic" usually works too).

For high-level text-direction control, you may experiment with

\righttoleft
\lefttoright

as well as

\setupdirections[bidi=3Dglobal]
\setupdirections[bidi=3Dlocal]

Best wishes
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523



--
Michael Ash, Chair, Department of = Economics
Professor=C2=A0of Economics and Public Policy=C2=A0 =C2=A0 = =C2=A0 =C2=A0=C2=A0=C2=A0
University of Massachusetts
Amherst, MA 01003
Email=C2=A0mash@econs.umass.edu=
Tel +1-413-545-2590=C2=A0Twitter @michaelaoash



--
Michael Ash,= Chair, Department of Economics
Professor=C2=A0of Economics and Public = Policy=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0
University of Massachusett= s
Amherst, MA 01003
Email=C2=A0mash@econs.umas= s.edu
Tel +1-413-545-2590=C2=A0Twitter @michaelaoash



--
= Michael Ash, Chair, Department of Economics
Professor=C2=A0of Economics= and Public Policy=C2=A0 =C2=A0 =C2=A0 =C2=A0=C2=A0=C2=A0
University of = Massachusetts Amherst
Amherst, MA 01003
Email=C2=A0mash@econs.umass.edu
Tel +1-413-545-2590=C2=A0Twitter=C2=A0https://twitter.com/michaelaoash
--001a11c2c166d3d79104f84fefec-- --===============0424041305== 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 ___________________________________________________________________________________ --===============0424041305==--