[Libreoffice-bugs] [Bug 129124] Truncated trigonometric function names

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Dec 1 11:38:39 UTC 2019


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

--- Comment #9 from Mike Kaganski <mikekaganski at hotmail.com> ---
(In reply to Valdas from comment #8)

Exactly. The MathML generated by PanDoc is wrong:

> <?xml version='1.0' ?>
> <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
>     <mrow>
>         <msub>
>             <mi>x</mi>
>             <mn>1</mn>
>         </msub>
>         <mo>=</mo>
>         <msub>
>             <mi>l</mi>
>             <mn>1</mn>
>         </msub>
>         <mo>sin</mo>
>         <mrow>
>             <mo stretchy="true" form="prefix">(</mo>
>             <msub>
>                 <mi>θ</mi>
>                 <mn>1</mn>
>             </msub>
>             <mrow>
>                 <mo stretchy="true" form="prefix">(</mo>
>                 <mi>t</mi>
>                 <mo stretchy="true" form="postfix">)</mo>
>             </mrow>
>             <mo stretchy="true" form="postfix">)</mo>
>         </mrow>
>     </mrow>
> </math>

Note that "mo" in "<mo>sin</mo>", which is defining "mathematical operator"
like "+". But sin is function name, and needs to be in <mi>...</mi>.

-- 
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/20191201/b3d474f6/attachment.html>


More information about the Libreoffice-bugs mailing list