Hi folks,
How do I get Sigil to render MathML/MathJax the the preview window? I've only just discovered MathML and wanted to have a bit of a tinker.
I've got two sample epubs, one from the
Calibre documentation and a
linear algebra epub from this
EPUB 3 samples page, neither of which render anything math like in the preview window.
I've also tried creating a new epub3 and putting this following snippet in the body (this from
Accessible Publishing Knowledge Base MathML page):
Code:
<math xmlns="http://www.w3.org/1998/Math/MathML"
alttext="Frac Root a EndRoot Over b EndFrac">
<mfrac>
<msqrt>
<mtext>a</mtext>
</msqrt>
<mi>b</mi>
</mfrac>
</math>
Both epubs and the above snippet in a new epub work with the calibre epub editor.
I've tried ticking the two boxes ("epubs may access remote resources" and "epubs may use javascript") in the General Settings / Security prefs but no change to preview rendering. I've seen references to MathML in the Sigil forums (eg
here and
here and
this thread), so I figure I must be missing something simple. There's no mention of "math" in the Sigil User's Guide.
This is with Sigil 1.5.1 on Windows 10.