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
___________________________________________________________________________________
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
___________________________________________________________________________________