Hi everyone. The following example works fine with MkIV, but fails with latest LMTX. To be specific, the lam-alif ligature isn't working. Compile with both to see differences. Majalla is a Windows font, so I guess it's available for testing: \mainlanguage[arabic]\definefontfeature [arabic] [mode=node,language=dflt,script=arab, init=yes,medi=yes,fina=yes,isol=yes, liga=yes,dlig=yes,rlig=yes,clig=yes, mark=yes,mkmk=yes,kern=yes,curs=yes]\definefontfamily[main][serif][sakkalmajalla][features=arabic]\setupbodyfont[main]\setupdirections[bidi=global]\starttext أهلاً وسهلاً\stoptext Is that a bug or are more features to be specified? Thank you in advance. Jairo
Hi
Does that work now?
Best,
Denis
Von: ntg-context
I didn't test it, but I could with some Iranian song lyrics as I did last
time...
Jairo
El jue, 7 de ene. de 2021 a la(s) 01:33,
Hi
Does that work now?
Best,
Denis
*Von:* ntg-context
*Im Auftrag von *Jairo A. del Rio *Gesendet:* Dienstag, 24. November 2020 08:12 *An:* mailing list for ConTeXt users *Betreff:* [NTG-context] Some ligatures don't work in latest LMTX Hi everyone. The following example works fine with MkIV, but fails with latest LMTX.
To be specific, the lam-alif ligature isn't working. Compile with both to see differences.
Majalla is a Windows font, so I guess it's available for testing:
\mainlanguage[arabic]
\definefontfeature
[arabic]
[mode=node,language=dflt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes]
\definefontfamily[main][serif][sakkalmajalla][features=arabic]
\setupbodyfont[main]
\setupdirections[bidi=global]
\starttext
أهلاً وسهلاً
\stoptext
Is that a bug or are more features to be specified? Thank you in advance.
Jairo
___________________________________________________________________________________ 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
___________________________________________________________________________________
Hmm, it works for Persian because this uses less diacritics than Arabic. The following fails with LMTX: \definefontfamily[main][serif][notonaskharabic][features=arabic] \setupdirections[bidi=global,method=one] \setupbodyfont[main] \starttext \obeylines %https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ \stoptext Hi, Hans. Could you please check this out? It works for MKIV, but in LMTX vowels are misplaced. Thank you in advance. Jairo El jue, 7 de ene. de 2021 a la(s) 08:48, Jairo A. del Rio ( jairoadelrio6@gmail.com) escribió:
I didn't test it, but I could with some Iranian song lyrics as I did last time...
Jairo
El jue, 7 de ene. de 2021 a la(s) 01:33,
escribió: Hi
Does that work now?
Best,
Denis
*Von:* ntg-context
*Im Auftrag von *Jairo A. del Rio *Gesendet:* Dienstag, 24. November 2020 08:12 *An:* mailing list for ConTeXt users *Betreff:* [NTG-context] Some ligatures don't work in latest LMTX Hi everyone. The following example works fine with MkIV, but fails with latest LMTX.
To be specific, the lam-alif ligature isn't working. Compile with both to see differences.
Majalla is a Windows font, so I guess it's available for testing:
\mainlanguage[arabic]
\definefontfeature
[arabic]
[mode=node,language=dflt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes]
\definefontfamily[main][serif][sakkalmajalla][features=arabic]
\setupbodyfont[main]
\setupdirections[bidi=global]
\starttext
أهلاً وسهلاً
\stoptext
Is that a bug or are more features to be specified? Thank you in advance.
Jairo
___________________________________________________________________________________ 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
___________________________________________________________________________________
On 1/7/2021 3:04 PM, Jairo A. del Rio wrote:
Hmm, it works for Persian because this uses less diacritics than Arabic. The following fails with LMTX:
\definefontfamily[main][serif][notonaskharabic][features=arabic]
\setupdirections[bidi=global,method=one]
\setupbodyfont[main]
\starttext
\obeylines
%https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php
بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ
\stoptext
Hi, Hans. Could you please check this out? It works for MKIV, but in LMTX vowels are misplaced. Thank you in advance.
It works here but i have different code in the meantime. We're in a transition to an lmtx version of the font handler. In lmtx we need to do a bit more checking when we are in in compact font mode so it might be that there is temporary loss of some functionality. In principle mkiv and lmtx should do the same as there is no real change in logic.) I'll push an update later today, Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Oh, yeah. It works again. Thank you very much :)
Jairo
El jue., 7 de ene. de 2021 10:20 a. m., Hans Hagen
On 1/7/2021 3:04 PM, Jairo A. del Rio wrote:
Hmm, it works for Persian because this uses less diacritics than Arabic. The following fails with LMTX:
\definefontfamily[main][serif][notonaskharabic][features=arabic]
\setupdirections[bidi=global,method=one]
\setupbodyfont[main]
\starttext
\obeylines
% https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php < https://www.letsstartthinking.org/Islam/quran-short-phrases-and-verses.php
بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ
\stoptext
Hi, Hans. Could you please check this out? It works for MKIV, but in LMTX vowels are misplaced. Thank you in advance.
It works here but i have different code in the meantime. We're in a transition to an lmtx version of the font handler. In lmtx we need to do a bit more checking when we are in in compact font mode so it might be that there is temporary loss of some functionality. In principle mkiv and lmtx should do the same as there is no real change in logic.)
I'll push an update later today,
Hans
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
On 1/7/2021 11:05 PM, Joseph wrote:
\definefontfeature[default][default][liga=yes, dlig=yes, hlig=yes]
\definefontfamily[mainfont][serif][EBGaramond]
\setupbodyfont[mainfont, 9pt]
\starttext
start active justice
\stoptext fixed in next upload
----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
participants (4)
-
denis.maier@ub.unibe.ch
-
Hans Hagen
-
Jairo A. del Rio
-
Joseph