How to change direction of Outline Numbering to RTL in LO Writer?

Hello

I've recently found another incompatibility between LO Writer and MS
Word again. As you may know I'm working on my thesis and I have to obey
rules of my university template which is also provided as a .doc or .tex
file.

The template is originally in Farsi as an RTL language. When you open
the template in MS Word, Outline Numberings are shown in Right to Left
order. For example sub-chapter (section) 1 of chapter 3 is represented
as "‮۳-۱-‬" (with right to left order) in MS Office and LaTeX templates.
But when I import that template in LO Writer, regardless of direction of
the paragraph, sub-chapter 1 of chapter 3 is always shown as "‫۳.۱-‬"
which is still in left to right format.

You can practically see this wrong numbering direction in Chapter 3 of
file below which is a partially translated version of my university
template:
http://nabble.documentfoundation.org/file/n4067241/iust_translated_english_template_for_thesis_final_(nazanin)_writable.doc
The chapter 3 is not translated and you can see that by changing
direction of paragraph of "‫۳.۱-‬" to LTR, it only changes to "3.1-",
both of them in left to right direction

Generally speaking numbers (like ۱.۹۹ = 1.99) in Farsi are from left to
right and characters are from right to left, but for Outline Numberings
(i.e. Numbering of Headings) most books and publications use the right
to left direction as in characters and not as in simple numbers. But it
seems that LO Writer represents Outline Numberings like simpler numbers
from left to right.

I want to know is there any method to show numbering of headings
(Tools->Outline_Numbering) in right to left direction? (e.g. sub-chapter
1 of chapter 3 as "‮۳-۱-‬" instead of "‫۳.۱-‬")

I'm still awaiting for any response to my question. If anyone know any
suggestion about the question below, please help me.

Regards,
   Sina Momken

Let me make long story, short:
I want to know is there any method to make numbering of sub-chapter
1 of chapter 3 shown as "‮۳-۱-‬" instead of "‫۳.۱-‬" in file below???
http://nabble.documentfoundation.org/file/n4067241/iust_translated_english_template_for_thesis_final_(nazanin)_writable.doc

Waiting for any response,
   Sina Momken

Hi Sina,

Sina Momken schrieb:

Let me make long story, short:
I want to know is there any method to make numbering of sub-chapter
1 of chapter 3 shown as "‮۳-۱-‬" instead of "‫۳.۱-‬" in file below???
http://nabble.documentfoundation.org/file/n4067241/iust_translated_english_template_for_thesis_final_(nazanin)_writable.doc

Waiting for any response,
    Sina Momken

Short answer: No, it is not possible.
https://issues.apache.org/ooo/show_bug.cgi?id=98190

You should make an enhancement request for LibreOffice with link to the old OpenOffice.org issue.

Kind regards
Regina

I'm still awaiting for any response to my question. If anyone know any
suggestion about the question below, please help me.

Regards,
   Sina Momken

Let me make long story, short:
I want to know is there any method to make numbering of sub-chapter
1 of chapter 3 shown as "‮۳-۱-‬" instead of "‫۳.۱-‬" in file below???
http://nabble.documentfoundation.org/file/n4067241/iust_translated_english_template_for_thesis_final_(nazanin)_writable.doc

Waiting for any response,
   Sina Momken

Hello Regina,

Thank you very much for your clear answer. Your answers are always the
best especially when no one else can help.
I made a bug (enhancement request) at Bugzilla of LibreOffice:
https://bugs.freedesktop.org/show_bug.cgi?id=67986
I hope some developer can solve this old bug.

Best,
   Sina

Hello Regina,

Thank you very much for your clear answer. Your answers are always the
best especially when no one else can help.
I made a bug (enhancement request) at Bugzilla of LibreOffice:
https://bugs.freedesktop.org/show_bug.cgi?id=67986
I hope some developer can solve this old bug.

Best,
   Sina

Hi Sina. When opening your thesis I see the numbers in Arabic numerals
(the 0-9 digits common to Westerners), not in Hindu numerals (the
digits commonly seen in Arabic, Persian, and Urdu). This is probably
due to my locale settings.

Note that I could reproduce your issue both in the document that you
linked to and in original Hebrew documents. I attribute the problem to
the fact that the period "." is a non-directional character, so the
whole 4.2.1 block is treated as LTR. See here for an explanation:
http://dotancohen.com/howto/rtl_right_to_left.html

The way to 'force' RTL display of subsections is to put an invisible
RTL character after each number. You can get the character at the
bottom of the page linked to above, it is called "RLM". Another 'fix'
would be if there were to exist an RTL period ".", however I am
unaware of the existence of such a character. Note that the RLM
character actually appears on the Lyx Hebrew keyboard (shift-ט). I do
not know if it appears on the Persian keyboard.

Considering the above, this is not a LibreOffice bug. However, I will
add my comments about how to work with this issue in LibreOffice. I am
interested in how MS Office handles this corner case.

You can always CC me RTL-related issues. I maintain gibberish.co.il
and I'm quite versed in RTL issues. I can read Arabic letters, so I
can read Persian, but I do not know the meaning of the sounds that I
am reading. Best of luck on your thesis.

Now that I've read the bug I see that you've already discovered the
RLM character. I have nothingto add to your assessment, other than the
fact that I fully support the notion that it should be fixed!

Thanks, Sina.

Hi :slight_smile:
+1
I can't really vote on this and this isn't really a voting list anyway but if i could vote i would give it +1
Regards from
Tom :slight_smile: