From: Michael Ash <mash@econs.umass.edu>
To: ntg-context@ntg.nl
Subject: Re: Hebrew vowel placement in ConTeXt.
Date: Thu, 1 May 2014 01:28:16 -0400 [thread overview]
Message-ID: <CAKTWfUOM3oEJXjWTU-Wb3-qQi1dOMz5w3fUjp2rvr1hASqYgPw@mail.gmail.com> (raw)
In-Reply-To: <CAKTWfUOrBr+jiz1LVSd6PZETp3Aw9ft6YRSsHbhV8kZK-hZwZw@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 4559 bytes --]
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=hebr 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=yes,mark=yes]
\setmainfont[Ezra SIL][features=hebrew]
\setupalign[r2l]
\starttext
בְרֵאשִ֖ית בָרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָמַ֖יִם וְאֵ֥ת הָאָֽרֶץ
\stoptext
Thank you very much for suggestions.
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 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=hebr,ccmp=yes,mark=yes]
>
> \setmainfont[Ezra SIL][features=hebrew]
>
> \setupalign[r2l]
>
> \starttext
> בְּרֵאשִׁ֖ית בָּרָ֣א אֱלֹהִ֑ים אֵ֥ת הַשָּׁמַ֖יִם וְאֵ֥ת הָאָֽרֶץ
> \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 (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 ادريس سماوي حامد <
>> 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
>>>> לָכֵן חַכּוּ־לִי נְאֻם־יְהוָה לְיוֹם קוּמִי לְעַד כִּי מִשְׁפָּטִי
>>>> לֶאֱסֹף גּוֹיִם לְקָבְצִי מַמְלָכוֹת לִשְׁפֹּךְ עֲלֵיהֶם זַעְמִי כֹּל
>>>> חֲרוֹן אַפִּי כִּי בְּאֵשׁ קִנְאָתִי תֵּאָכֵל כָּל־הָאָרֶץ׃
>>>> \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=global]
>>> \setupdirections[bidi=local]
>>>
>>> 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
>
--
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
[-- Attachment #1.2: Type: text/html, Size: 8462 bytes --]
[-- Attachment #2: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-05-01 5:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-17 16:07 Michael Ash
2013-06-17 16:15 ` Michael Ash
2013-06-17 16:22 ` Idris Samawi Hamid ادريس سماوي حامد
[not found] ` <12604_1371486185_51BF37E9_12604_399_1_op.wytzrxjlpw6hmh@ishamid-pc>
2013-06-17 16:31 ` Michael Ash
2013-06-17 16:42 ` Idris Samawi Hamid ادريس سماوي حامد
2013-06-17 17:16 ` Hans Hagen
2013-06-17 18:18 ` Michael Ash
2014-05-01 5:28 ` Michael Ash [this message]
2014-05-02 18:36 ` Michael Ash
2014-05-02 22:58 ` Rik Kabel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAKTWfUOM3oEJXjWTU-Wb3-qQi1dOMz5w3fUjp2rvr1hASqYgPw@mail.gmail.com \
--to=mash@econs.umass.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).