[XeTeX] XeLaTeX and Arabic text in Footnotes

Nathan Camillo Sidoli sidoli at aoni.waseda.jp
Fri May 14 08:11:33 CEST 2010


For some reason, this is only happening within footnotes. Within the 
footnote, even changing the catcodes inside a group is not working.


Khaled Hosny wrote:
> 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/xete


More information about the XeTeX mailing list