11-19-2020, 12:56 PM | #1 |
Enthusiast
Posts: 37
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite (1)
|
Convert all math formulas to images
Hello,
I have many technical ebooks (epub, mobi) containing many math formulas. In calibre for mac I can mostly read these formula correctly but when I transfer this same file (same format, already converted) to my kindle paperwhite (1st gen) many formula are not correctly rendered. I'm quite sure this is a limitation of my kindle version, so nothing to be done there, I guess. I was wondering if does it exist a converting procedure or a plugin that could convert all the math formulas into images in order to be correctly visualized in the reader. Thanks in advance |
11-19-2020, 01:06 PM | #2 |
creator of calibre
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, I'm afrid not. if your math formulae are represented as svg then converting to mobi will auto-rasterize them, but if they use something else like mathml then no.
|
11-19-2020, 01:15 PM | #3 |
Enthusiast
Posts: 37
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite (1)
|
Thanks,
in your opinion this incorrect rendering is due to a conversion problem/limitation or a limitation of my reader? In the last case, are there other readers known to be more "math friendly"? |
11-19-2020, 01:21 PM | #4 |
Enthusiast
Posts: 37
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite (1)
|
After verification, I can confirm (at least in one case) that the problem is coming from the use of mathml.
What is the technical limitation to first render this formula and then grab the generated visual output? |
11-19-2020, 08:40 PM | #5 |
creator of calibre
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
rendering mathml is far from trivial. it's a very large spec with very few open source standalone implementations outside of browser engines, and even there it is being removed from browser engines. So you are left with JS based solutions like mathjax, which is what for instance the calibre viewer uses. IIRC calibre's PDF output has suport for using MathJax when converting to PDF, so you might be better off converting to PDF (sized for your device screen).
|
11-20-2020, 07:47 AM | #6 |
Resident Curmudgeon
Posts: 76,532
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
02-05-2023, 12:54 PM | #7 | |
Member
Posts: 22
Karma: 39220
Join Date: Sep 2015
Device: Onyx Boox i86
|
A couple of years later and I'm in the same situation. wanting to read a epub with mathml formulas.
@kovidgoyal Quote:
Thanks for a great program by the way! |
|
02-05-2023, 03:37 PM | #8 | |
Resident Curmudgeon
Posts: 76,532
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
02-06-2023, 08:36 AM | #9 |
creator of calibre
Posts: 44,573
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
if its not working for you then follow the instructions here: https://www.mobileread.com/forums/sh...d.php?t=186697
|
02-06-2023, 02:20 PM | #10 | ||
Member
Posts: 22
Karma: 39220
Join Date: Sep 2015
Device: Onyx Boox i86
|
Quote:
Quote:
Last edited by poppe; 02-06-2023 at 04:15 PM. |
||
02-06-2023, 04:16 PM | #11 |
Resident Curmudgeon
Posts: 76,532
Karma: 136565488
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
There used to be sites that supported creating equations and supported mathML and could output SVG. No idea where they've gone.
|
02-07-2023, 04:53 PM | #12 |
Bibliophagist
Posts: 40,647
Karma: 157444382
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I'm wondering if the poster is trying to convert the epub not the MathML equations? I found several sites that would convert MathML to svg but none that would take an epub with embedded MathML and convert that to svg. Sadly, the MathML Cloud site by Benetech is no longer supported.
|
Tags |
conversion, formula, kindle paperwhite, math function |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Export/save math formulas/images from pdfs? | SnowRipple | Onyx Boox | 2 | 05-30-2020 10:48 AM |
Displaying math formulas in pdfs | sygi | PocketBook | 8 | 05-24-2020 10:53 AM |
tables, math formulas & different fonts in a .mobi file? | Zim | Kindle Formats | 3 | 10-22-2011 08:10 PM |
Math formulas conversion help | Sciamano | Conversion | 10 | 06-22-2011 07:33 AM |
Convert PDF with Math symbols? | daithi81 | Sony Reader | 10 | 10-13-2009 08:44 AM |