Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ragdollfun opened this issue Apr 28, 2022 · 6 comments

Comments

@ragdollfun
Copy link

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)

@mattip
Copy link
Member

mattip commented Apr 28, 2022

xref scipy/scipy#16063. In the future if you open identical issues, please xref them in the issue itself.

@ragdollfun
Copy link
Author

Sorry, didn't know I could do that

@mattip
Copy link
Member

mattip commented Apr 28, 2022

👍

@rgommers
Copy link
Member

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?

@ragdollfun
Copy link
Author

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. 🤔

@rgommers
Copy link
Member

rgommers commented May 3, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants