From: "\"H. Özoguz\"" <h.oezoguz@mmnetz.de>
To: ntg-context@ntg.nl
Subject: Re: Problems with arabic font "Amiri"
Date: Wed, 08 May 2013 10:34:26 +0200 [thread overview]
Message-ID: <518A0E12.90906@mmnetz.de> (raw)
> 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
___________________________________________________________________________________
next reply other threads:[~2013-05-08 8:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-08 8:34 "H. Özoguz" [this message]
2013-05-08 8:57 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2013-05-08 9:19 "H. Özoguz"
2013-05-08 5:41 "H. Özoguz"
2013-05-08 8:15 ` Hans Hagen
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=518A0E12.90906@mmnetz.de \
--to=h.oezoguz@mmnetz.de \
--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).