On 2017-12-15 06:45, Lutz Haseloff wrote:
Hi all,
i would like to typeset hebrew with context.
My not fully working example:

\starttext
\definedfont[name:narkisim at 20pt]
\setupalign[r2l]
טְרוֹפוֹתִי
\stoptext

In the resulting pdf the vocalisations are on the left side of the glyph, instead of being centered.
I append the result of context and the result of Libreoffice.

Is there a way to typeset vocalised hebrew with context or am I doing something wrong?

Greetings Lutz
--
GPG Key ID 3C4F83BC

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Depending on the font, correct niqqud placement requires some combination (sometimes all) of the following font features: lang, ccmp, and script. For Ezra SIL, I would use

\definefontfeature [hebrew] [oldstyle] [
  lang=heb,
  ccmp=yes,
  script=hebr,
]
\starttext
\definedfont[name:EzraSIL*hebrew at 72pt]
\setupalign[r2l]
טְרוֹפוֹתִי
\stoptext

while for David_CLM the script feature suffices:

\definefontfeature [hebrew] [oldstyle] [
% lang=heb,
% ccmp=yes,
  script=hebr,
]
\starttext
\definedfont[name:David_CLM-medium*hebrew at 72pt]
\setupalign[r2l]
טְרוֹפוֹתִי
\stoptext

You will have to find what works for narkisim.

--
Rik