[Libreoffice-bugs] [Bug 122151] New: Only first letter of custom operator exported in mathml

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Dec 17 09:43:18 UTC 2018


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

            Bug ID: 122151
           Summary: Only first letter of custom operator exported in
                    mathml
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Formula Editor
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: vivien.guillet at laposte.net

Description:
Custom operators defined using "oper", "uoper" and "boper" having more than one
letter shows in equation editor, but only first letter is exported in mathml.

Steps to Reproduce:

Steps to Reproduce:
1. type "uoper OP x" in formula editor
2. save document
3. examine mathml in odf document


Actual Results:
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
    <semantics>
        <mrow>
            <mo stretchy="false">O</mo><mi>x</mi>
        </mrow>
        <annotation encoding="StarMath 5.0">uoper OP x</annotation>
    </semantics>
</math>


Expected Results:
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
    <semantics>
        <mrow>
            <mo stretchy="false">OPER</mo><mi>x</mi>
        </mrow>
        <annotation encoding="StarMath 5.0">uoper OP x</annotation>
    </semantics>
</math>



Reproducible: Always


User Profile Reset: No



Additional Info:

-- 
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/20181217/81083fd0/attachment-0001.html>


More information about the Libreoffice-bugs mailing list