Summary: | Many mathematical symbols are incorrectly exported as <mo> operators | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Frédéric Wang <fred.wang> |
Component: | Formula Editor | Assignee: | Frédéric Wang <fred.wang> |
Status: | REOPENED --- | QA Contact: | Jorendc <jorendc> |
Severity: | normal | ||
Priority: | medium | CC: | dr.khaled.hosny, rb.henschel |
Version: | 4.2.0.0.alpha0+ Master | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=65765 | ||
Whiteboard: | target:4.2.0 | ||
i915 platform: | i915 features: | ||
Bug Depends on: | 66279 | ||
Bug Blocks: |
Description
Frédéric Wang
2013-06-23 15:30:55 UTC
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. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.