#9085 NORM Not Tri: Mathematical formulas are not able to be mixed with Right-To-Left Text

Zarro Boogs per Child bugtracker at laptop.org
Sat Dec 6 13:41:14 EST 2008


#9085: Mathematical formulas are not able to be mixed with Right-To-Left Text
--------------------------+-------------------------------------------------
 Reporter:  guysoft       |                 Owner:               
     Type:  defect        |                Status:  new          
 Priority:  normal        |             Milestone:  Not Triaged  
Component:  not assigned  |               Version:  not specified
 Keywords:                |           Next_action:  never set    
 Verified:  0             |   Deployment_affected:               
Blockedby:                |              Blocking:               
--------------------------+-------------------------------------------------
 In certain places it is needed to mix both RTL and LTR in one string.

 The main place this is needed is in the calculate activity, where both
 math expressions and words need to be put together in the same string.

 A string like:
 cos(x), return the arc cosine of x. This is the angle for which the cosine
 is x. Defined for -1 <= x < 1

 Needs to be translated to:
 acos(x), מחזיר את הערך ארק קוסינוס של x. זו הזווית שבא קוסינוס הוא x.
 מוגדר ל -1 <= x < 1

 If I were to write that back in English it would say:
 acos(x), of cosine arc of return x. is cosine that angle is X. 1 defined
 to <= x < 1.


 As you can see, it scrambles all the Hebrew here.
 I see they avoided this also in any RTL language.

 Its hard to explain to English speakers, but each "chunk" of Hebrew is
 placed in the wrong direction in relation to the math.

 The system should know its in RTL mode, and adjust the "chunks" of math to
 go in the right position in relation to the Hebrew.

-- 
Ticket URL: <http://dev.laptop.org/ticket/9085>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list