Created attachment 58569 [details] zip archive with test files to reproduce the bug This bug report is intended to remind the development team of a long standing bug in OpenOffice which is still present in LibreOffice (tested with LO 3.5.1). It is reported in the OO tracker at https://issues.apache.org/ooo/show_bug.cgi?id=69088 The tex4ht software converts LaTeX documents into OpenOffice/LibreOffice format (.odt). Equations are converted to MathML. The MathML generated by tex4ht is valid but the import to OO and LO is broken in at least two points: 1. Multiple indices are not correctly grouped, when imported from MML. 2. An array (e.g. a LaTeX eqnarray environment) is represented in LO math as matrix. In a matrix, columns are separated by "#" and rows by "##". If a column consists of an equal sign "#=#" only, this has to be escaped like this "#{}={}#", otherwise it is displayed as "?". But when the equation is imported from MathML, the equal sign is NOT escaped. Note that in MathML the equal sign must not be escaped. The attached zip file contains - the LaTeX source file - the .odt file exhibiting the bugs, - the pdf file produced by LaTeX
I agree with Wilfried. Many valid MathMl files do not import in LibreOffice. I do not know whether they are based on a higher version of the MathML standard. LibreOffice supports only up to version 1.01 of the standard. The current revision of MathML is 3.0.
Interesting, using LO 4.0.1 we can make a workaround like this for the second equation: matrix {{s w} # {"=" { \( {3 + 2 i} \)} { \( {2 - i} \)}} ## {} #{"=" 6 - 3 i + 4 i - 2 i^2} ## {} # {"=" 8 + i}} Maybe we could change the MathML importer to not require a empty {} to align corrently, and to scape equal signal when import. I can work in this issue.
Created attachment 102920 [details] Importing MathML Files Many valid MathMl files do not import in LibreOffice on OS X 10.6.8 with LO Version: 4.2.5.2 Build ID: 61cb170a04bb1f12e77c884eab9192be736ec5f5. We have tested numerous MathMl files generated with MathJax. Please see: http://www.mathjax.org/demos/copy-and-paste/ Note: It is sometimes possible to import MathML files into LO by rewriting the MathMl files and changing the MathMl format and syntax.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.0.4 or later) https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2015-12-20
Tested with LO5.0.4 against LO3.3.0. Problems with arrays are exactly the same. Some multiple indices are better supported in 5.0.4, some are worse in 5.0.4. Attached: A zip file with screenshots of both 5.0.4 and 3.3.0 with differences marked by red rectangles.
Created attachment 122158 [details] screenshots of equations in LO5.0.4 and LO3.3.0
*** Bug 81428 has been marked as a duplicate of this bug. ***
This bug seems still to exist in LO Version: 6.0.1.1 where may I donate to get someone solving it?
(In reply to Andreas P. from comment #8) > This bug seems still to exist in LO Version: 6.0.1.1 > where may I donate to get someone solving it? If you have to pay the cost of a programmer working to solve it you will get ruined. I'm working around mathml, and there will be some improvements on 7.1. If there is something feasible you need to get implemented I can take a look.