Last modified: 2014-10-16 17:44:34 UTC
MathJax currently interprets the default value for displaystyle on mtable as "inherited" instead of the value "false" specified in the MathML spec. The problem is that this affect the generated MathML output. For example for the markup {\displaystyle {\begin{aligned}\Gamma (z)&=\int _{0}^{x}e^{{-t}}t^{{z-1}}\,{\frac {{\mathrm {d}}t}{t}}+\int _{x}^{\infty }e^{{-t}}t^{{z+1}}\,{\frac {{\mathrm {d}}t}{t}}\\&=x^{z}e^{{-x}}\sum _{{n=0}}^{\infty }{\frac {x^{n}}{z(z+1)\cdots (z+n)}}+\int _{x}^{\infty }e^{{-t}}t^{{z}}\,{\frac {{\mathrm {d}}t}{t}}.\end{aligned}} on the Fourier Transform page, Mathoid generates <mtable> without explicit displaystyle="true" attribute and so the content render incorrectly in Gecko 29 and (I guess) MathPlayer. See the discussion in http://lists.w3.org/Archives/Public/www-math/2014Jun/0001.html An issue is opened in MathJax: https://github.com/mathjax/MathJax/issues/839 We should cherry-pick the fix when it is ready before Math 2.0.
Change 166198 had a related patch set uploaded by Frédéric Wang: Experimental - Try to cherry-pick fix for MathJax's issue 839 https://gerrit.wikimedia.org/r/166198
As said on the commit, the code generated by Mathoid on http://math-preview.wmflabs.org/wiki/Displaystyle is still incorrect with this patch. It seems that we'll have to wait MathJax 2.5 to see some progress here.
the change is merged but not deployed
I have the feeling that this a problem with mathjax core... maybe peter can comment on that
From discussion with Moritz: - This is https://github.com/mathjax/MathJax/issues/839 - The scriptlevel change for https://github.com/dpvc/MathJax/commit/98e3f098bd519dabe9bf558736c5bf6438fbc217 are wrong, as confirmed by the Math WG - https://github.com/dpvc/MathJax/commit/98e3f098bd519dabe9bf558736c5bf6438fbc217 does not work for me when applied to mathoid. Just a guess: perhaps it's because Mathoid uses the "show math source" extension rather than the NativeMML output ; or perhaps the TeX input Jax has to be fixed too.
This must be fixed in mathoid.
I reported that in https://github.com/mathjax/MathJax-node/issues/34
Change 166358 had a related patch set uploaded by Physikerwelt: Merge recent changes from MathJax https://gerrit.wikimedia.org/r/166358
Change 166198 abandoned by Frédéric Wang: Experimental - Try to cherry-pick fix for MathJax's issue 839 Reason: These changes are included in https://gerrit.wikimedia.org/r/#/c/166358/ https://gerrit.wikimedia.org/r/166198
Change 166358 merged by GWicke: Merge recent changes from MathJax https://gerrit.wikimedia.org/r/166358