From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/83043 Path: news.gmane.org!not-for-mail From: Michael Ash Newsgroups: gmane.comp.tex.context Subject: Re: Hebrew vowel placement in ConTeXt. Date: Mon, 17 Jun 2013 14:18:24 -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="===============2111445169==" X-Trace: ger.gmane.org 1371493147 15550 80.91.229.3 (17 Jun 2013 18:19:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Jun 2013 18:19:07 +0000 (UTC) Cc: ntg-context@ntg.nl To: =?windows-1256?B?SWRyaXMgU2FtYXdpIEhhbWlkIMfP0e3TINPjx+btIM3H488=?= Original-X-From: ntg-context-bounces@ntg.nl Mon Jun 17 20:19:09 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uoe1C-0003IU-By for gctc-ntg-context-518@m.gmane.org; Mon, 17 Jun 2013 20:19:06 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 63FFA10212; Mon, 17 Jun 2013 20:19:05 +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 VBmoSe5-31Zp; Mon, 17 Jun 2013 20:19:03 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id E83F6101F0; Mon, 17 Jun 2013 20:19:02 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B5135101F0 for ; Mon, 17 Jun 2013 20:19:01 +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 fPXGs+lFSPPm for ; Mon, 17 Jun 2013 20:18:59 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id A78C6101EE for ; Mon, 17 Jun 2013 20:18:59 +0200 (CEST) Original-Received: from mailhub2.oit.umass.edu (mailhub2.oit.umass.edu [128.119.103.54]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5HIIkW3017503 for ; Mon, 17 Jun 2013 20:18:58 +0200 Original-Received: from mailhub2.oit.umass.edu (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id D606E281863 for ; Mon, 17 Jun 2013 14:18:45 -0400 (EDT) Original-Received: from mail-vb0-f46.google.com (mail-vb0-f46.google.com [209.85.212.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority" (not verified)) (Authenticated sender: maash) by mailhub2.oit.umass.edu (Postfix) with ESMTPSA id 7E04E2818D2 for ; Mon, 17 Jun 2013 14:18:45 -0400 (EDT) Original-Received: by mail-vb0-f46.google.com with SMTP id 10so2194659vbe.19 for ; Mon, 17 Jun 2013 11:18:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=aPXeHyf0uXEe01bxGDPMOwAPX28Mqs0FrHAhIdZ8zVI=; b=bYQm0n6y2b+W/TN8hCVIBTAXpoouBWJ3Wa9avUMHkAhUHfWGFRWcMSK1hALtf5gKWm pm2N7YNih/BS/C6H0EaqqQXPc9yQXY4ji/u+1ZkTCpFIsXjLBAyYctWUDLgtYgwx15sp /kHKsJNn0+gJw/gYTbM26sfijlM8pWf+VAA263KbXGdOMJmt+pmPJSPry6UgD2pOPsuc 7zww7nnJ9FwxnM+UFrgg7C+LwzGq9WwYW52deox3QfX6KALoVJAjUqWAyIqJPwIyFmtC Q6NfRkIXoB+lpAhK5eVZ+r4sW62rca0k7UAMiKVGmpqK9ejk+r9dX9sqwyO1/PYtJW45 ngFg== X-Received: by 10.220.98.68 with SMTP id p4mr4884887vcn.28.1371493125060; Mon, 17 Jun 2013 11:18:45 -0700 (PDT) Original-Received: by 10.52.121.104 with HTTP; Mon, 17 Jun 2013 11:18:24 -0700 (PDT) In-Reply-To: X-PMX-Version: 6.0.0.2142326, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.6.17.180926 X-PMX-Spam: Gauge=IIIIIIII, Probability=8%, Report=' SUPERLONG_LINE 0.05, BODYTEXTH_SIZE_10000_LESS 0, BODY_SIZE_10000_PLUS 0, CTYPE_MULTIPART_NO_QUOTE 0, DATE_TZ_NA 0, URI_ENDS_IN_HTML 0, WEBMAIL_SOURCE 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __C230066_P5 0, __CP_URI_IN_BODY 0, __CT 0, __CTYPE_HAS_BOUNDARY 0, __CTYPE_MULTIPART 0, __CTYPE_MULTIPART_ALT 0, __FORWARDED_MSG 0, __HAS_FROM 0, __HAS_HTML 0, __HAS_MSGID 0, __HIGHBITS 0, __IN_REP_TO 0, __MIME_HTML 0, __MIME_VERSION 0, __PHISH_SPEAR_HTTP_RECEIVED 0, __RUS_HASHBUSTER_KOI8R 0, __SANE_MSGID 0, __TO_MALFORMED_2 0, __YOUTUBE_RCVD 0' X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=128.119.103.54; country=US; region=MA; city=Amherst; postalcode=01003; latitude=42.3804; longitude=-72.5231; metrocode=543; areacode=413; http://maps.google.com/maps?q=42.3804,-72.5231&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 08JNuiKco - d0c7c30461a4 - 20130617 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 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:83043 Archived-At: --===============2111445169== Content-Type: multipart/alternative; boundary=001a11c1f9ee8805ee04df5da05f --001a11c1f9ee8805ee04df5da05f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable There is a nice answer from W. Schuster to the vowel placement question in 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. An= y > 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 > --=20 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 --001a11c1f9ee8805ee04df5da05f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
There is a nice answer from W. Schuster to the vowel placement questio= n in the archives at=C2=A0http://www.ntg.nl/pipermail/ntg-context/2011/059969.htm= l=C2=A0(I didn't find it because the subject is "Misaligned Ma= rks" rather than "Hebrew vowel placement" but it resolves th= e question. =C2=A0(Idris's suggestions regarding options =C2=A0to \defi= nefontfeature were right on -- thanks) and I also learned more about \setup= align=C2=A0htt= p://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 (alt= hough reversed left-to-right as I sent it) in my sent mail, and it looked p= erfect (corrected right-to-left) in your response. =C2=A0But it did not loo= k 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@colostate.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, D= epartment 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=A0Twi= tter @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.umass.edu
Tel +1-413-545-2590=C2=A0Twitter @michaelaoash
--001a11c1f9ee8805ee04df5da05f-- --===============2111445169== 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 ___________________________________________________________________________________ --===============2111445169==--