Bug 116932

Summary: Equations created in MS Word 2013 have inverted red question marks when docx file opened in Libre Writer
Product: LibreOffice Reporter: john <rm3.scratch>
Component: Formula EditorAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED INSUFFICIENTDATA    
Severity: normal CC: rb.henschel, vsfoote
Priority: medium    
Version: 6.0.3.2 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=66284
https://bugs.documentfoundation.org/show_bug.cgi?id=95230
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: page of equations created in word then opened in libre and saved in .odt
clip of the linked comparison image
clip of the linked comparison image (cleaned)

Description john 2018-04-11 00:16:32 UTC
Description:
Certain equations created in MS Word 2013 have inverted red question marks when the docx file is opened in Libre Writer.

Steps to Reproduce:
I created an equation in ms word, and when I open the document in libre, the formula is missing a part and a red inverted question mark is there in its place. when checking the equation in the equation editor, it gives me this:

ml of solution left ({1L} over {1000ml} right ) left ({mol  of Solute  } over {1L} right ) left ({1mol  {H} rsub {2} {PO} rsub {4} rsup {-}  } over {1mol solute} right ) =mol  {H} rsub {2} {PO} rsub {4} rsup {-}

Actual Results:  
the equation doesn't display right, and if I try to save it in .docx format when it looks like this, it just deletes the part of the equation that doesn't display properly, instead of saving it. 

Expected Results:
the equation should display exactly the same as it does in word.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
SEE " https : // imgur . com /a/p1IcK " FOR A COMPARISON BETWEEN WORD AND LIBRE

its a minor bug but it is causing me a lot of stress and I am not going to suck microsoft's dick any harder than I have to. I'm not paying for a personal copy of word, and all my university's computers are locked down so I cant install libre there. 


User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0
Comment 1 john 2018-04-11 00:23:08 UTC
Created attachment 141276 [details]
page of equations created in word then opened in libre and saved in .odt
Comment 2 V Stuart Foote 2018-04-11 04:11:21 UTC
Please attach the OOXML .docx with the intact equations. Any issue with conversion of the MathML has already happened... we need the starting point.
Comment 3 V Stuart Foote 2018-04-11 04:12:48 UTC
Created attachment 141278 [details]
clip of the linked comparison image
Comment 4 V Stuart Foote 2018-04-11 04:49:38 UTC
Hey no need for vulgarity--keep it clean please!

We still will need the OOXML .docx from Word 2013--though you can save from Word to ODF formats--let MS do the formula conversion to ODF MathML. Might do a better job than LibreOffice's import.

Otherwise, here is the StarMath ML for the example formula (note the syntax for the chemical formulas...

ml of solution left({1L} over {1000ml} right) left({mol~ of Solute} over {1L} right) left ( {1mol H_2 PO_4^{-{}}} over {1mol` solute} right ) = mol~ H_2 PO_4^{-{}}

Use empty quotes "", or empty braces {} as placeholders for layout, and the space characters grave `, or tilde ~ to adjust spacing.
Comment 5 V Stuart Foote 2018-04-11 04:53:15 UTC
Created attachment 141279 [details]
clip of the linked comparison image (cleaned)
Comment 6 Timur 2018-08-03 16:07:24 UTC
Since no response, I'll close. But this issue is already reported, as in See Also.