[Libreoffice-bugs] [Bug 134193] sm Formula editor does not support RTL-CTL localized presentation markup, just content markup of formulas

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 24 13:51:30 UTC 2020


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

--- Comment #8 from V Stuart Foote <vstuart.foote at utsa.edu> ---
(In reply to libre officer from comment #7)

> ... 
> 2006 is considered antiquity era in 2020 !
> 
> However, I strongly disagree with Rüdiger Timm's `Even RTL languages don't
> use RTL for math` !! That's completely wrong, many countries still uses
> Arabic letters in math formula.

Actually believe the commit author was Alan Yaniger, working with Thomas Lang.

https://bz.apache.org/ooo/attachment.cgi?id=39273&action=diff 

> 
> People forgot that Math formula could be written in other languages to teach
> kids in school basic geometry rules. For example, how can somebody type this
> 5th grade formula without inducing kids in error:
> 
> 
> مساحة شبه المنحرف = (القاعدة الكبرى + القاعدة الصغرى) × الارتفاع ÷ 2
> 
> (  Trapezoid Area = (smaller side + bigger side) × height ÷ 2  )
> 
> 
> Making exercises or lessons for kids in school would be impractical in
> LibreOffice :(
> 
> 
> I hope in the future that at least the text direction control characters
> will be supported in math formula output..


+1, and it could be as simple as enabling RTL for the sm edit shell to allow
Command windows input RTL in addition to the Bidi handling--but more likely the
sm node creation logic is coded only for standard mathematical formulas.

Getting reasonable RTL Presentation syntax may require sm logic specific to
handle:

U+200E LEFT-TO-RIGHT MARK (LRM)
U+200F RIGHT-TO-LEFT-MARK (RLM)

U+202A LEFT-TO-RIGHT EMBEDDING (LRE)
U+202B RIGHT-TO-LEFT EMBEDDING (RLE)
U+202C POP DIRECTIONAL FORMATTING (PDF)
U+202D LEFT-TO-RIGHT OVERRIDE (LRO)
U+202E RIGHT-TO-LEFT OVERRIDE (RLO)

U+2066 LEFT-TO-RIGHT ISOLATE (LRI)
U+2067 RIGHT-TO-LEFT ISOLATE (RLI)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200624/6338900f/attachment.htm>


More information about the Libreoffice-bugs mailing list