View Single Post
Old 07-18-2024, 11:41 AM   #1
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,959
Karma: 27060153
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
MathML support in calibre editor/previewer

I have a math book that I'm going through and want to replace math expressions that are rendered in image or SVG files with MathML equivalents.

I found this:

https://manual.calibre-ebook.com/typesetting_math.html

However, while the ePub file downloaded from there previews and displays well in calibre viewer and editor preview, actual ePub software such as Apple Books or Thorium do not render it.

Conversely, when I create ePub with Sigil with a MathML example (attached) it does not render correctly in calibre viewer or editor previewer, but does so in Apple Books and Thorium reader.

So I do not understand the utility of using MathJax if only calibre reader / previewer handles it. It looks like I'll have to do this editing with Sigil and previewing there and with ePub apps like Thorium reader.

Am I missing something here?

I am guessing that adding the <script> stuff for MathJax would let me preview in calibre as well? and other reading apps would ignore it?
Attached Files
File Type: epub mathml.epub (2.0 KB, 678 views)

Last edited by tomsem; 07-18-2024 at 11:45 AM.
tomsem is offline   Reply With Quote