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

--- Comment #13 from Mike Kaganski <[email protected]> ---
Created attachment 181307
  --> https://bugs.documentfoundation.org/attachment.cgi?id=181307&action=edit
The formula in Word 2016

It is definitely a compatibility issue. Just wanted to note that it's
astonishing how the formula could get created in Word.

The attachment shows the cursor set in the beginning of the formula; one may
see which block is highlighted - it's "Ce(NO", which is not a reasonable
formula block, including an opening parenthesis and an incomplete inner
subexpression.

This corresponds to the XML:

> <m:sSub>
>     ...
>     <m:e>
>         <m:r>
>             ...
>             <m:t>Ce(NO</m:t>
>         </m:r>
>     </m:e>
>     <m:sub>
>         <m:r>
>             ...
>             <m:t>3</m:t>
>         </m:r>
>     </m:sub>
> </m:sSub>
> <m:sSub>
>     ...
>     <m:e>
>         <m:r>
>             ...
>             <m:t>)</m:t>
>         </m:r>
>     </m:e>
>     <m:sub>
>         <m:r>
>             ...
>             <m:t>3</m:t>
>         </m:r>
>     </m:sub>
> </m:sSub>

And to the import result in Math:

> {Ce(NO} rsub {3} {)} rsub {3} ...

where all the parts in braces: "{Ce(NO}", "{3}", "{)}", and "{3}" correspond to
the separate <m:sub> elements of the original formula.

I wonder how can that be ever converted into a valid math expression, given the
input - unless we treat every piece of such a "formula" as literal text, which
would ruin all normal formulas.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to