Description: LO Math can be improved to allowing Arabic mathematical expressions. To make them presented as expected, we can allowing 𞻰, 𞻱 placed as the middle line of a stacked fraction and being extended, also add an option to allow RTL direction. Steps to Reproduce: - Actual Results: - Expected Results: - Reproducible: Always User Profile Reset: No Additional Info: https://en.wikipedia.org/wiki/Modern_Arabic_mathematical_notation User-Agent: Mozilla/5.0 (Android 4.3; Mobile; rv:55.0) Gecko/55.0 Firefox/55.0
We can also allowing √ presented its mirror forms in RTL direction activated, otherwise (if a font does not support it) forced mirrored it on screen.
Volga: Is that available in MathML 2.0? In ODF 1.2 it is specified, that this is used. See http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__440362_826425813 and http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1416212_253892949
(In reply to Regina Henschel from comment #2) > Volga: Is that available in MathML 2.0? In ODF 1.2 it is specified, that > this is used. See > http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1. > html#__RefHeading__440362_826425813 and > http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1. > html#__RefHeading__1416212_253892949 Sorry for late responce. W3C has a documentation for this. https://www.w3.org/TR/arabic-math/ According to the date this is published in 3 years later after MathML 2.0 published, so I think this is available in MML 2.0 and we can try it.
(In reply to Regina Henschel from comment #2) > Volga: Is that available in MathML 2.0? In ODF 1.2 it is specified, that > this is used. See > http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1. > html#__RefHeading__440362_826425813 and > http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1. > html#__RefHeading__1416212_253892949 Hi Regina, WDYT?
I think this is unnecessary, since TexMaths extension added support for XeLaTeX, which is able to produce such formulas.
(In reply to Volga from comment #5) > I think this is unnecessary, since TexMaths extension added support for > XeLaTeX, which is able to produce such formulas. Closing as RESOLVED WONTFIX
I’m working on this, if it requires updates to the ODF format, then we should do that as well.
ODF allows all of MathML 2.0. For right-to-left that is in https://www.w3.org/TR/MathML2/chapter3.html#presm.bidi If you want RTL directionality of mathematics formulas you need MathML3. In that case please write a request to office-comment@lists.oasis-open.org https://www.oasis-open.org/committees/comments/index.php?wg_abbrev=office. There is no change in the Relax schema needed, but only a change in the text. https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1416212_253892949 Since ODF has no relationships to the content of the <math> element, I don't see a problem with moving from MathML 2.0 to MathML 3.0 from a standards perspective.
FIW, the formula is not imported as a Math formula, but as a vector image, so Formula Editor is probably not involved at all here.
Oops, wrong bug.
(In reply to Regina Henschel from comment #8) > ODF allows all of MathML 2.0. For right-to-left that is in > https://www.w3.org/TR/MathML2/chapter3.html#presm.bidi > If you want RTL directionality of mathematics formulas you need MathML3. > > In that case please write a request to office-comment@lists.oasis-open.org > https://www.oasis-open.org/committees/comments/index.php?wg_abbrev=office. > There is no change in the Relax schema needed, but only a change in the text. > https://docs.oasis-open.org/office/OpenDocument/v1.3/os/part3-schema/ > OpenDocument-v1.3-os-part3-schema.html#__RefHeading__1416212_253892949 > > Since ODF has no relationships to the content of the <math> element, I don't > see a problem with moving from MathML 2.0 to MathML 3.0 from a standards > perspective. Thanks, I sent an email to office-comment@lists.oasis-open.org
(In reply to Xisco Faulí from comment #6) > (In reply to Volga from comment #5) > > I think this is unnecessary, since TexMaths extension added support for > > XeLaTeX, which is able to produce such formulas. > > Closing as RESOLVED WONTFIX FWIW, XeTeX does not support RTL math. We now have RTL math (Bug 134193), what remains is to support Arabic-specific big operators mentioned here.
Khaled Hosny committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/d4edecb26cc5a801815a612cdd27f3dc621d5038 tdf#111705: Add support of Arabic summation operator (U+1EEF0) It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Khaled Hosny committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/9023cbc96c3538995f0ef9042aebcad14711cd60 tdf#111705: Add support of Persian limits operator (U+1EEF1) It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Khaled Hosny committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/2cedcebc15f7199c8a3c16bb3f25c7a422770ecc tdf#111705: Add the new maj and hadd operators to the elements panel It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Khaled Hosny committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/5416c9183384d46f9eb347871541c6ee1e30c28b tdf#111705: Add Arabic math symbols to the symbols catalogue It will be available in 24.2.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Can someone post a document with some Arabic mathematical expressions, as an attachment? Khaled: Thanks for another RTL win! :-) Xisco: This shows us that we need to more carefully distinguish between WONTFIX and "extremely low priority"...
Created attachment 189693 [details] Sample Arabic math document
Created attachment 189694 [details] PDF exported from the sample document
Verified. Like in the PDF from comment 19. Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: a34dcd03254480927c403d904c0e754802d97b90 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
In release notes: https://wiki.documentfoundation.org/index.php?title=ReleaseNotes%2F24.2&type=revision&diff=730893&oldid=730817