From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Arabic
Date: Wed, 16 Nov 2011 15:01:45 +0200 [thread overview]
Message-ID: <20111116130145.GA1840@khaled-laptop> (raw)
In-Reply-To: <CAKGf2LeY-LA2xK_hA_RW7k2hJi7RDi9y5+3-p273UNJx_G1xOg@mail.gmail.com>
On Tue, Nov 15, 2011 at 10:13:24PM +0100, dont.spam.no.dont@gmail.com wrote:
> Dear all,
>
> I'm having a hard time to get context typeset arabic words with ligatures,
> or say, to some order>1 according to page 7 of:
> http://luatex.org/talks/print-orientaltex-eurotex-2009.pdf.
>
> I'm using:
> ConTeXt ver: 2011.05.18 18:04 MKIV fmt: 2011.8.15 int: english/english
>
> I've put up this minimal example where the font used is amiri from:
> http://sourceforge.net/projects/amiri/files/
> and more precisely amiri-regular.ttf therein.
>
> Any hint as to what I should do to get (at least the lam-alef ligature)?
Works here, I get both ligatures (though they are implemented in this
particular font as contextual forms not ligatures in the technical
sense).
If you are running recent enough version of ConTeXt (e.g. minimals) this
can be simplified to:
\mainlanguage[arabic]
\definefont[ArabicFont][name:amiri*arabic at 24pt] % or file:amiri-regular.ttf*...
\starttext
\setupalign[r2l]
\ArabicFont
لا في
\stoptext
Regards,
Khaled
___________________________________________________________________________________
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 prev parent reply other threads:[~2011-11-16 13:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-15 21:13 Arabic dont.spam.no.dont
2011-11-16 13:01 ` Khaled Hosny [this message]
2011-11-16 19:15 ` Arabic dont.spam.no.dont
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=20111116130145.GA1840@khaled-laptop \
--to=khaledhosny@eglug.org \
--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).