|
|
#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 |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
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.
|
|
|
|
| Advert | |
|
|
|
|
#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"? |
|
|
|
|
|
#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? |
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
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).
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,789
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#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! |
|
|
|
|
|
|
#8 | |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,789
Karma: 150249619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
|
|
|
|
#9 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
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
|
|
|
|
|
|
#10 | ||
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22
Karma: 39220
Join Date: Sep 2015
Device: Onyx Boox i86
|
Quote:
. To understand it correctly, you mean I should convert the whole book to svg or just the mathml? If just the mathml what would the steps be without manually editing the whole book?![]() Quote:
Last edited by poppe; 02-06-2023 at 04:15 PM. |
||
|
|
|
|
|
#11 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,789
Karma: 150249619
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.
|
|
|
|
|
|
#12 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 48,233
Karma: 174315444
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 |