ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* arabic in xml
@ 2011-05-06 13:14 R. Ermers
  0 siblings, 0 replies; only message in thread
From: R. Ermers @ 2011-05-06 13:14 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear All,

I am working on a docbook file that includes fragments in Arabic, e.g.:

<foreignphrase lang="ar">أشهد الا اله الا الله و ان محمدا رسول الله</foreignphrase>

These can be found by means of the lpath code:

\xmlsetsetup{#1}{foreignphrase[@lang='ar']}{xml:foreignphrase:arabic}

Now I am not sure how to typeset them, I tried different methods:

\startxmlsetups xml:foreignphrase:arabic
%\setupdirections[bidi=local]
\setarabic
\xmlflush{#1}
\stopxmlsetups

Can anybody help me out here?

Regards,

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-06 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-06 13:14 arabic in xml R. Ermers

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).