Re: [NTG-context] Problems with arabic font "Amiri"
works ok here (in latest beta)
Sorry, my fault. Of course it works, but it was not r2l (and so not readably), this one is the not working: \definefont[amiri][file:amiri-regular.ttf*arabic at 17pt] \define[1]\Arab{\setuplayout[r2l] \amiri#1} \starttext \Arab{بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ} \stoptext Maybe the command \setuplayout[r2l] should be replaced by some other command? Here is the error (now also with the last beta, I updated): "Missing number" +++++++++++++++++++++++++++++++++++++++++++++++ ! Missing number, treated as zero. system > tex > error on line 4 in file .../Namenlos-1.tex: Missing number, treated as zero ... 1 \definefont[amiri][file:amiri-regular.ttf*arabic at 17pt] 2 \define[1]\Arab{\setuplayout[r2l] \amiri#1} 3 \starttext 4 >> \Arab{بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ} 5 \stoptext 6 7 8 9 10 11 12 13 <to be read again> \global \page_layouts_synchronize ...c!leftmargin \global \rightmarginwidth \layoutp... <inserted text> ...ayout \currentlayout \page_layouts_synchronize \page_layouts_check_next \... \setup_layout ...tsetnamed \the \everysetuplayout \the \everyswitchlayout \f... \syst_helpers_double_empty_one_spaced ...1[{#2}][] <to be read again> \amiri ... l.4 ...�حْمَـٰنِ الرَّحِيمِ} +++++++++++++++++++++++++++++++++++++++++++++++ Thanks. Huseyin
On 5/8/2013 10:34 AM, "H. Özoguz" wrote:
works ok here (in latest beta)
Sorry, my fault. Of course it works, but it was not r2l (and so not readably), this one is the not working:
\definefont[amiri][file:amiri-regular.ttf*arabic at 17pt] \define[1]\Arab{\setuplayout[r2l] \amiri#1} \starttext \Arab{بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ} \stoptext
\setupalign works ok here ; maybe you should erease the font cache ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
"H. Özoguz"
-
Hans Hagen