https://bugs.documentfoundation.org/show_bug.cgi?id=149824

Khaled Hosny <kha...@aliftype.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #9 from Khaled Hosny <kha...@aliftype.com> ---
(In reply to Eyal Rozenberg from comment #8)
> Hello Amin,
> 
> Unfortunately, your opening comment and your attachment "current and
> expected situation" - contradict.
> 
> In your opening comment, you've listed the "expected results" to the
> ordering of numbers that in your attachment is described as
> inappropriate/undesirable. You've also stated that's not what you get in LO.
> 
> Well, I'll assume that you mixed up "expected" and "actual" in the first
> comment.
> 
> Assuming that is the case, then - this is NOTABUG.
> 
> Numbers, in both Arabic and Hebrew (and most probably Farsi) are written
> from left-to-write, starting with the most significant decimal digit. They
> are _mostly_ read that way - with the exception that, in Arabic, the last
> two digits are read in reverse order. Anyway, 502 would be written, in
> Arabic with hindi digits as ٥٠٢ - both in an RTL and an LTR paragraph. Also,
> when writing a fractional number, the integral part is to the left of the
> fractional part.
> 
> It thus makes sense for Number-Dot-Number paragraph numbering, in Arabic as
> well as in English, to have the first number on the left, and the second
> number on the right. Hundreds of Thousands of Arabic speakers use
> LibreOffice, and - to my knowledge - have not complained about this being
> the order.
> 
> As for your ODT attachment #181202 [details] - when I open it, I see Arabic,
> not Hindi,  numerals in both sequences of paragraphs (i.e. 123, not ١٢٣).
> You should probably choose an explicit number sequence rather than sticking
> to the default.
> 
> So, please clarify and update the attachments if necessary.

Numbered lists (in Arabic at least) follow the hierarchical order not the LTR
direction of the numbers, so 1 must precede 2 (i.e. be at the right of it).

One possible solution is to surround each level number with FSI (U+2068) / PDI
(U+2069) so they becomes isolated from each other and follow the paragraph
direction.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to