MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   Conversion (https://www.mobileread.com/forums/forumdisplay.php?f=235)
-   -   How to view math equations on Kindle (https://www.mobileread.com/forums/showthread.php?t=334462)

JaredS 10-30-2020 09:24 AM

How to view math equations on Kindle
 
I have an epub that contains a lot of mathematical equations. I have tried converting it to mobi and azw3 formats but the formatting gets messed up when viewing on a Kindle. The equations are in MathML format, which does not render correctly on my Kindle. I have other eBooks that replace the markup notation with images like .svg and they work perfectly.

Is there any way to convert this to a Kindle readable format and convert the MathML sections to images?

I know there are ways to do the two separately but that would mean manually replacing hundreds of markup tags with images. It would be great if there was a simpler answer. Thanks

JSWolf 10-30-2020 09:26 AM

Quote:

Originally Posted by JaredS (Post 4052714)
I have an epub that contains a lot of mathematical equations. I have tried converting it to mobi and azw3 formats but the formatting gets messed up when viewing on a Kindle. The equations are in MathML format, which does not render correctly on my Kindle. I have other eBooks that replace the markup notation with images like .svg and they work perfectly.

Is there any way to convert this to a Kindle readable format and convert the MathML sections to images?

I know there are ways to do the two separately but that would mean manually replacing hundreds of markup tags with images. It would be great if there was a simpler answer. Thanks

You can use MathML Cloud to convert the MathML equations to SVG.

https://mathmlcloud.org/

JaredS 10-30-2020 09:43 AM

I appreciate the answer but this does not address the problem I posed. No offence but did you even read the question?

kovidgoyal 10-30-2020 12:05 PM

Dont know of an automated way to do it.

ps67 10-30-2020 03:44 PM

KFX has some support for mathml (see the Amazon Kindle Publishing Guidelines)
You could try to install the KFX output plugin and see what happens.

JSWolf 11-02-2020 09:06 AM

Quote:

Originally Posted by JaredS (Post 4052722)
I appreciate the answer but this does not address the problem I posed. No offence but did you even read the question?

I did read your post. You cannot convert MathML to SVG using a Calibre conversion. That's why I gave you the solution of converting MathML to SVG that you say works.

stumped 11-02-2020 12:03 PM

The Kindle store maths book I have uses gif and jpg images for all the math. They scale with the text ok.


All times are GMT -4. The time now is 10:23 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.