Quote:
Originally Posted by kovidgoyal
In theory it could work, since the editor uses chromium to render which supposedly support mathml and up to date calibre uses a new enough version of Qt WebEngine that it should work, so you can try it without the mathjax canary script and see.
|
I don't use the mathjax script. In the Calibre source file
/src/pyj/editor.pyj, the routine
check_for_maths() returns
True not only if it sees the so-called canary script name, but also returns
True if it sees the MathML xmlns namespace declaration. However, I do need to use that same namespace declaration for native MathML to work. So I need to somehow prevent Mathjax from loading in this circumstance.
Any suggestions are welcome.