Summary: | Upside down question markers formula round trip DOCX | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Telesto <telesto> |
Component: | Formula Editor | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | normal | CC: | dante19031999, jluth, rajasekaran86, rb.henschel, vsfoote |
Priority: | medium | Keywords: | filter:ooxml |
Version: | 3.5.0 release | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Attachments: |
Example file
clips for attachment 170076 opened in LO7 writer, original ODT - roundtrip DOCX - roundtrip DOC |
Description
Telesto
2021-02-26 10:16:26 UTC
Created attachment 170076 [details]
Example file
Also in Versie: 4.4.7.2 Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600 Locale: nl_NL And in LibreOffice 3.5.0rc3 Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735 @Justin To distract you from the color bullet stuff? Maybe something 'easy' (or maybe not, what the hell do I know). Looks like unsupported symbols. This is not an OpenSymbol font issue. This is a filter issue (export to OOXML, and/or import from OOXML). The original chemical formula in LO7 StarMath is: nitalic{NH_3 + H_2 O %Ux21CC NH_4^{+{}} + OH^{`-{}} } In LO7 on roundtrip to OOXML (Word 2007-365): {NH} rsub {3} + {H} rsub {2} O ⇌ {NH} rsub {4} rsup {+} + {OH} ^ { −} Or, in LO7 on roundtrip to MS Word 97-2003 binary: size 12{"NH" rSub { size 8{3} } +H rSub { size 8{2} } O⇌"NH" rSub { size 8{4} } rSup { size 8{+{}} } +"OH" rSup { size 8{` - {}} } } {} The OOXML filtering has the issue, and because the chemical formula is not rendered non-italic when opened in Word issue start with the ww8 export. Created attachment 170087 [details] clips for attachment 170076 [details] opened in LO7 writer, original ODT - roundtrip DOCX - roundtrip DOC The sm error markers seem to be from the rsup {+} + {OH} ^ { −} which will render correctly if notated: rsup {"+"} + {OH} rsup {"−"}; or mixed rsup {"+"} + {OH} ^ {"−"} Meaning that rather than explicitly literal with the quotes as now, the sm parser might need to allow/accept them as literals when bracketed alone in an rsub or rsup expression? (In reply to V Stuart Foote from comment #7) > Meaning that rather than explicitly literal with the quotes as now, the sm > parser might need to allow/accept them as literals when bracketed alone in > an rsub or rsup expression? Those are chemistry formulas. In the new parser I'm implementing there will be special namespace for formulas in which syntax is optimized for that. I'll take it into account. Still presents in LO 7.6 Dev under Windows 10(x64). Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: ad387d5b984c6666906505d25685065f710ed55d CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: en-IN (en_IN); UI: en-US Calc: threaded |