[XeTeX] bidi.sty for plain XeTeX
heer
heer at u.washington.edu
Sat Dec 22 06:46:01 CET 2012
John,
Your suggestion worked very well. Arabic words and letters now
read from right to left. However, the letters all appear as separate
letters rather than connected as they should be. Is there any way to
correct that?
Nicholas
On Fri, 21 Dec 2012, John Was wrote:
> I'm not an Arabist but have occasionally had to typeset articles in plain
> XeTex using Arabic, and all I have in my file header is:
>
> \TeXXeTstate=1 % this turns e-TeX's bidi functionality on
> \def\intextarab#1{{\arabic {\beginR #1\endR}}}
>
> I define \arabic as a call to my Arabic font (the definition of \arabic
> changes according to whether I'm in main text, footnote text, or extract
> text). To achieve Arabic I just give \intextarab{ARABIC TEXT HERE}. That
> works fine for bits of Arabic embedded in English (or other left-to-right)
> text in the same paragraph. For separate Arabic paragraphs you really just
> need
> \beginR
>
> and at the end
>
> \endR
>
>
> There are no doubt slicker ways of doing things, but that gave me good output
> first time round so I stuck with it!
>
>
> John
>
>
>
> ----- Original Message ----- From: "heer" <heer at u.washington.edu>
> To: "Unicode-based TeX for Mac OS X and other platforms" <xetex at tug.org>
> Sent: 21 December 2012 21:52
> Subject: [XeTeX] bidi.sty for plain XeTeX
>
>
>>
>> Is there a bidi.sty file for plain XeTeX or only for XeLateX? I'd like to
>> be able to use Arabic script in plain XeTeX.
>>
>> Nicholas
>>
>>
>> --------------------------------------------------
>> Subscriptions, Archive, and List information, etc.:
>> http://tug.org/mailman/listinfo/xetex
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
> http://tug.org/mailman/listinfo/xetex
>
More information about the XeTeX
mailing list