From: Jon Crump <jjcrump@uw.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: seeking 'hello world' example for Arabic typesetting with conTeXt
Date: Mon, 29 Nov 2010 12:18:51 -0800 [thread overview]
Message-ID: <AANLkTi=X5OaP7vJPgH7iiDjuNsjNgvuaBXqG8Ygr55vv@mail.gmail.com> (raw)
In-Reply-To: <op.vmw0wuzopw6hmh@ishamid-pc>
Idris, Khaled, et alia,
Many, many thanks! Failing to find SimpleNaskhi.ttf anywhere, I
downloaded ScheherazadeRegOT.ttf from SIL. I have the font in the same
directory as my tei file apr.xml; along with my ara-sty.tex file
suitably edited with the font name for the \definefontsynonym
commands; and the environment file svo-tei.tex, in which I assert at
the top: \environment ara-sty, and call in a \startxmlsetups command
thus:
\startxmlsetups xml:div:month
\blank[line]\midaligned{\xmlatt{#1}{n}}\blank[medium]
\setarabic
\stopxmlsetups
Now, when I invoke context at the command-line:
context --environment=svo-tei.tex apr.xml
I'm finally seeing some Arabic text, and it's beautiful! It's a great
pity I don't actually read Arabic ;-(
It remains now to define my xmlsetups in such a way as to be able to
distinguish between the Arabic and Roman sections; my tei file is a
bit idiosyncratic, and I've much to do still in grasping the necessary
lpath expressions, but at last I'm making some progress! My heartfelt
thanks and profound admiration for all that you and your colleagues
have accomplished. I hope you'll not mind further simple-minded
questions down the road as I progress with this project.
Best,
Jon
2010/11/28 Idris Samawi Hamid ادريس سماوي حامد <ishamid@colostate.edu>:
> Hi Jon,
> Thankfully, with MkIV one [thankfully] no longer needs to concern oneself
> with metric files
Amen!
> NP, and that page needs updating anyway. For example, forget about
>
> \setcharactermirroring[1]
>
> and use
>
> \setupdirections[bidi=global] or
> \setupdirections[bidi=local]
not sure how to use these yet, but it's working.
> There is a simpler way to approach this, I'll try to post an example in the coming days.
I'll look forward to any guidance for tyros that you may care to share
J
___________________________________________________________________________________
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:[~2010-11-29 20:18 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-28 21:48 Jon Crump
2010-11-29 4:47 ` Idris Samawi Hamid ادريس سماوي حامد
2010-11-29 5:14 ` Idris Samawi Hamid ادريس سماوي حامد
2010-11-29 18:30 ` Hans Hagen
2010-11-29 18:03 ` Khaled Hosny
2010-11-29 19:16 ` Idris Samawi Hamid ادريس سماوي حامد
2010-11-29 19:23 ` luigi scarso
2010-11-29 19:28 ` Hans Hagen
2010-11-30 11:50 ` Mojca Miklavec
2010-11-30 12:06 ` Hans Hagen
2010-11-30 14:46 ` Idris Samawi Hamid ادريس سماوي حامد
2010-12-01 9:48 ` luigi scarso
2010-12-01 17:53 ` Idris Samawi Hamid ادريس سماوي حامد
2010-11-29 20:18 ` Jon Crump [this message]
2010-11-29 18:11 ` Khaled Hosny
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='AANLkTi=X5OaP7vJPgH7iiDjuNsjNgvuaBXqG8Ygr55vv@mail.gmail.com' \
--to=jjcrump@uw.edu \
--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).