[XeTeX] XeLaTeX and Arabic text in Footnotes

Khaled Hosny khaledhosny at eglug.org
Fri May 14 07:26:44 CEST 2010


On Fri, May 14, 2010 at 02:19:13PM +0900, Nathan Camillo Sidoli wrote:
> OK, but is there a solution for people who are using a fair bit of
> math and imputing Arabic with ASCI input?

Change the catcodes inside a group:

$a^2_3$
\bgroup
\catcode`_=11
\catcode`^=11
a^2_3
\egroup
$a^2_3$

Don't textarab environment already do this?

> 
> 
> 
> Philiрp Rеichmuth wrote:
> >Am Wed, 12 May 2010 06:46:36 +0200 schrieb Tilman Hannemann:
> >>I have encountered a similar problem before. It should be solved
> >>by  putting
> >>
> >>\catcode`_=11
> >>\catcode`^=11 %etc.
> >>
> >>in your preamble to turn the math characters into inactive letters.
> >
> >This works only if you don't have math in your file.
> >
> >I prefer to enter Arabic in UTF-8 directly.
> >
> >Philipp
> >
> >
> >
> >--------------------------------------------------
> >Subscriptions, Archive, and List information, etc.:
> >  http://tug.org/mailman/listinfo/xetex
> 
> 
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the XeTeX mailing list