![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
MathJax.epub
http://manual.calibre-ebook.com/typesetting_math.html
Just experimenting, but the mathjax.epub looks fine in calibre's viewer, but not in ADE (and probably others) Is there an 'epub way' to use the math language? I have some pretty simple equations that would look better as text instead of a scanned image |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
MathML is only supported in ePUB3, so that is the first issue. The second is that only the latest version of ADE seems to support parts of ePUB3 and I do not know if MathML is part of that.
That is the reason that I still use SVG equations in my ePUB2 books. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
Bummer
No Joy Thanks I have some CSS from the forum, but it's very tedious to make even simple text equations using it |
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
I did find an online LaTeX equation editor that makes svg files.
http://www.codecogs.com/latex/eqneditor.php In a quick test I found that the resulting SVG file did look very nice in an epub (Thanks for the tip!!!) Only problem I had was the editor I found was IMHO not very user friendly - steep learning curve (old dog, new tricks) Do you have any other techniques or maybe a 'friendlier editor' ?? |
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I always use the codecogs editor I am afraid. I have given the site numerous times already. I do not know a better one.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,087
Karma: 447222
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
|
I made a few simple equations in Codecogs and saved as SVG
I loaded them into a test epub just like any image and put them inline with a paragraph Looks good in the editor, but they don't scale when I change the reader font I suspect I'm missing something ![]() Can I ask for a pointer in the right direction??? ![]() |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I usually just use an image tag with height set to 1-2 em. Exact value can be found after some experimenting.
|
![]() |
![]() |
![]() |
#8 |
Age improves with wine.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 571
Karma: 95229
Join Date: Nov 2014
Device: Kindle Oasis, Kobo Libra II
|
The trouble with images is that they don't generally resize if you bump up the font size, and even if you can get them to do so, they start looking blurry. Another way is to use tables, like this example:
Code:
<table> <tr><td rowspan="2">sin <i>θ'</i> – sin <i>θ</i> =</td><td><i>mh</i></td></tr> <tr><td style="border-top:1px solid black"><i>pd</i></td></tr> </table> However, I don't know of any tool that can do transform MathML into this sort of thing automatically. |
![]() |
![]() |
![]() |
#9 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
If you use SVG, it can scale with the font-size. That is why the height to em.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
epub and mathjax | vri | Calibre | 24 | 03-31-2017 10:56 PM |
MathJax and SVG conversion problems to epub or MOBI | waiting90days | Conversion | 4 | 12-31-2013 10:15 PM |
Including MathJax | net-buoy | Sigil | 3 | 02-22-2013 04:44 PM |
HTML containing mathjax to MOBI? | kongzifan | Conversion | 2 | 12-10-2011 05:13 AM |
epub, ePub, EPUB, warum blos ePub? | flowoeB | Lounge | 5 | 11-27-2009 09:37 AM |