LaTeX to MathML: generate simpler MathML trees, fix `\cfrac`.
commit0c40b4ef35dc7462e5b3ac68e3bcdb1db28371bc
authormilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Thu, 1 Feb 2024 13:03:41 +0000 (1 13:03 +0000)
committermilde <milde@929543f6-e4f2-0310-98a6-ba3bd3dd1d04>
Thu, 1 Feb 2024 13:03:41 +0000 (1 13:03 +0000)
tree43bc8f145727b18ee5dcd2ab206f8fc1b0342e72
parent2bee1b6a85d786b5000ab891c68d394e35154733
LaTeX to MathML: generate simpler MathML trees, fix `\cfrac`.

MathML Core defines more global attributes as MathML 3.
So we can now get rid of some `<mstyle>` wrappers and attach
styling attributes directly to the to-be-styled elements.

This also fixes

* a misattachment of expressions following continued fractions,
* styling of "smallmatrix" in Chromium,

git-svn-id: http://svn.code.sf.net/p/docutils/code/trunk@9533 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
docutils/docutils/utils/math/latex2mathml.py
docutils/docutils/utils/math/mathml_elements.py
docutils/test/functional/expected/math_experiments_mathml.html
docutils/test/functional/expected/mathematics_mathml.html
docutils/test/test_utils/test_math/test_mathml_elements.py