[XeTeX] sectioning commands with arabxetex

Abdulrahman Al-Abdusalalm abdulrhman.niz at cas.edu.om
Tue Mar 15 11:43:28 CET 2011


Hello again,

Now with polyglossia I can typeset arabic in sectioning commands, however, I
still have Arabic-indic numbering typeset from right to left (i.e. 3.1 is
show 1.3). Is this something to do with the internal code of \section
command?

On 15 March 2011 10:32, Abdulrahman Al-Abdusalalm <abdulrhman.niz at cas.edu.om
> wrote:

> Thank Vafa. I refrained from using Arabxetex and rather discovered
> polyglossia
> which solved the problem for now.
>
>
>
> On 15 March 2011 09:55, Vafa Khalighi <vafakhlgh at gmail.com> wrote:
>
>> Do not put your sectioning commands inside RTL environment (arab).
>>
>> 2011/3/15 Abdulrahman Al-Abdusalalm <abdulrhman.niz at cas.edu.om>
>>
>>> Hi,
>>>
>>> I am preparing a manuscript with arabxetex and facing a problem with
>>> sectioning commands (\section,\subsec...),
>>> basically the problem is that I get Arabic digits instead of Arabic-indic
>>> and also the numbering is typeset right to
>>> left (i.e. 1.3 for 3.1) the code snippet looks as follows:
>>>
>>> \begin{arab}
>>> ...
>>>
>>> \subsection{\textarab{الخطوط الرقمية} \textLR{(Fonts)}}
>>>
>>> ...
>>> \end{arab}
>>>
>>> I am also planning to include figures with captions and presume the same
>>> problem.
>>> Any advice is appreciated.
>>>
>>> --
>>> Abdulrahman AAl Abdulsalam
>>> Assistant Lecturer - IT Department
>>> College of Applied Science
>>> P.O. Box 699
>>> Nizwa, 611
>>> Oman
>>>
>>>
>>>
>>> --------------------------------------------------
>>> Subscriptions, Archive, and List information, etc.:
>>>  http://tug.org/mailman/listinfo/xetex
>>>
>>>
>>
>>
>> --
>> If some one say: "You divide ten into two parts: multiply the one by
>> itself; it will be equal to the other taken eighty-one times." Computation:
>> You say, ten less thing, multiplied by itself, is a hundred plus a square
>> less twenty things, and this is equal to eighty-one things. Separate the
>> twenty things from a hundred and a square, and add them to eighty-one. It
>> will then be a hundred plus a square, which is equal to a hundred and one
>> roots. Halve the roots; the moiety is fifty and a half. Multiply this by
>> itself, it is two thousand five hundred and fifty and a quarter. Subtract
>> from this one hundred; the remainder is two thousand four hundred and fifty
>> and a quarter. Extract the root from this; it is forty-nine and a half.
>> Subtract this from the moiety of the roots, which is fifty and a half. There
>> remains one, and this is one of the two parts.
>>
>> *Muḥammad ibn Mūsā al-Khwārizmī*
>>
>>
>
>
> --
> Abdulrahman AAl Abdulsalam
> Assistant Lecturer - IT Department
> College of Applied Science
> P.O. Box 699
> Nizwa, 611
> Oman
>



-- 
Abdulrahman AAl Abdulsalam
Assistant Lecturer - IT Department
College of Applied Science
P.O. Box 699
Nizwa, 611
Oman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110315/4a7f9d65/attachment.html>


More information about the XeTeX mailing list