In theory, only operators like those mentioned in http://www.w3.org/TR/MathML3/appendixc.html#oper-dict.entries-table should be exported as <mo> elements. Symbols like emptyset, aleph, setN that are more like variables should use <mi> elements instead.
NEW right away :). Kind regards, Joren
I've submitted a patch for review: https://gerrit.libreoffice.org/#/c/4595/
Marking these bugs assigned since I've already taken them.
Frederic Wang committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=43cf39adff66d20862956869d11fbcc184eb5702 fdo#66088 Export some math symbols as <mi> elements. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Reopening this bug as it seems that I overlooked the NSPECIAL and NGLYPH_SPECIAL cases. NGLYPHSPECIAL correspond to the commands uoper, boper, oper to define operators and so should still be exported as <mo> elements. NSPECIAL correspond to the %xxxx commands. Most of them are greek letters like %alpha so should be exported as <mi> elements. Other correspond to binary operators (without syntax verification) like %and so should be exported as <mo> elements. I think users can define their own %xxxx commands so a generic way to detect whether a character is an operator is needed (bug 66279)
Frederic Wang committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=9bb74686b1f857e791235381db632d1b5ac58296 fdo#66088 - follow-up: handle NGLYPHSPECIAL and NSPECIAL too. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
This is not completely fixed and depends on bug 66279. %xxx are now exported as <mi>'s rather than <mo>'s which is OK since most of them are Greek letters. But a few commands like %noelement should be <mo>. Users can also define their own commands with the Catalog menu. See comment 5.
OK, I overlooked that.
Setting Assignee back to default. Please assign it back to yourself if you're still working on this issue
Dear Dante, This bug has been in ASSIGNED status for more than 3 months without any activity. Resetting it to NEW. Please assign it back to yourself if you're still working on this.
(In reply to Xisco Faulí from comment #10) > Dear Dante, > This bug has been in ASSIGNED status for more than 3 months without any > activity. Resetting it to NEW. > Please assign it back to yourself if you're still working on this. Solving mathml bugs require big structural changes. I'm still working on them. But don't spect anything before 7.3 I need to build the basements before the building.