numpy.org icon indicating copy to clipboard operation
numpy.org copied to clipboard

Native MathML rendering doesn't work on the numpy and scipy documentation websites

Open ragdollfun opened this issue 3 years ago • 6 comments

Hello everyone,

I use a browser extension by the name of "Native MathML" which forces formula rendering engines like MathJax/KaTeX/MediaWIki to use native MathML rendering. The extension seems to be working on other websites (including Wikipedia, tell me if you know of other websites where I can test this for comparison), but it doesn't work on the numpy and scipy documentation websites. (I seem to remember it working in the past, but I'm not 100% sure now)

To illustrate the issue, I've included two screenshots:

one where the extension is activated: Screenshot 2022-04-28 145511

and a second one where the extension is deactivated: Screenshot 2022-04-28 145549

My browser is Firefox version 99.0.1 (64-bit)

ragdollfun avatar Apr 28 '22 13:04 ragdollfun

xref https://github.com/scipy/scipy/issues/16063. In the future if you open identical issues, please xref them in the issue itself.

mattip avatar Apr 28 '22 13:04 mattip

Sorry, didn't know I could do that

ragdollfun avatar Apr 28 '22 13:04 ragdollfun

:+1:

mattip avatar Apr 28 '22 13:04 mattip

I use a browser extension by the name of "Native MathML" which forces formula rendering engines like MathJax/KaTeX/MediaWIki to use native MathML rendering.

Can I ask why? Does this help with accessibility or something like that?

rgommers avatar Apr 28 '22 14:04 rgommers

I use a browser extension by the name of "Native MathML" which forces formula rendering engines like MathJax/KaTeX/MediaWIki to use native MathML rendering.

Can I ask why? Does this help with accessibility or something like that?

Hi @rgommers, Well, it's nice to be able to copy-paste formulas from web pages, but truly it's more about me being a sticker for web standards. It is a feature I could live without. 😅

What has me puzzled though is that the numpy and scipy documentation web sites are the only ones (that I know of) where I encounter this issue. 🤔

ragdollfun avatar May 03 '22 10:05 ragdollfun

Thanks for the reply. Okay, this is very low-prio then. Fixes are welcome, but I guess it's in Sphinx, MathML itself, or elsewhere. We do nothing special with LaTeX.

rgommers avatar May 03 '22 11:05 rgommers