Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 06-03-2015, 09:35 AM   #1
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
Example of e-book with well-formatted math?

Has anybody come across an ebook containing math done well, as in expressions that scale with text and are rendered consistently both inline and standalone?
I've flipped through samples from the big publishers on the Kindle store. Not impressive. Some of them actually use scans from a paper copy to show math
SBT is offline   Reply With Quote
Old 06-03-2015, 04:23 PM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,724
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by SBT View Post
Has anybody come across an ebook containing math done well, as in expressions that scale with text and are rendered consistently both inline and standalone?
Math is best supported by epub3 readers. The makers of Azardi (Windows, Linux, OSX) offer Max Planck's The Theory of Heat Radiation as a free epub3 ebook. It obviously contains lots of formulas.

If you have an Android tablet, also check out Gitden Reader.
Doitsu is offline   Reply With Quote
Advert
Old 06-03-2015, 06:20 PM   #3
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
Thanks Doitsu, it's a useful reference. However, I should have specified that I'm looking for EPUB2 and KF8 examples.

Why oh why is it so hard to make a MathML renderer that works? It took forever to get browsers to support it, ADE4 just added it, and apparently the iBooks implementation is so dodgy it's better to use MathJax instead...
SBT is offline   Reply With Quote
Old 06-04-2015, 03:13 AM   #4
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
For ePUB2 the only alternative to an image is a SVG I think. You can use the codecogs site to create SVG formulas.
Toxaris is offline   Reply With Quote
Old 06-04-2015, 03:19 AM   #5
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Any idea how to get MathJax spit out the SVG files, rather than use them on-the-fly (for non-JS rendering)?
Jellby is offline   Reply With Quote
Advert
Old 06-04-2015, 03:33 AM   #6
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,624
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by SBT View Post

Why oh why is it so hard to make a MathML renderer that works?.

If you need to produce an EPUB2 by converting a document with MathML, writer2xhtml is available and works pretty well.

http://writer2latex.sourceforge.net/

Last edited by roger64; 06-04-2015 at 03:35 AM.
roger64 is offline   Reply With Quote
Old 06-04-2015, 11:56 AM   #7
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
Quote:
Originally Posted by Jellby View Post
Any idea how to get MathJax spit out the SVG files, rather than use them on-the-fly (for non-JS rendering)?
Hi Jellby,
I've seen the same question on MathJax mailing lists, and the answer was that it's not really possible. I'm not sure if that's 100% correct. I used phantom.js and was able to retrieve the HTML variant output, but I never succeeded in catching the SVG output.
I did look at the HTML output to see if it could be used in an EPUB2 or KF8 file, but the conclusion was it required so much modification that there wasn't any point.
SBT is offline   Reply With Quote
Old 06-04-2015, 02:22 PM   #8
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,546
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
Quote:
Originally Posted by SBT View Post
I've seen the same question on MathJax mailing lists, and the answer was that it's not really possible. I'm not sure if that's 100% correct. I used phantom.js and was able to retrieve the HTML variant output, but I never succeeded in catching the SVG output.
Some time ago I experimented with mathoid, which uses phantom.js, so maybe that's what you used too. I didn't have the success I expected though, but maybe I need to be more persistent.
Jellby is offline   Reply With Quote
Old 06-04-2015, 04:06 PM   #9
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 11,470
Karma: 13095790
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2 & Air 2, iPhone 7
Try http://sourceforge.net/projects/svgmath/ to convert Mathml to Svg.

Dale
DaleDe is offline   Reply With Quote
Old 06-19-2015, 04:14 PM   #10
michal.h21
Junior Member
michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!
 
Posts: 5
Karma: 100000
Join Date: Feb 2013
Device: Sony PRS-T1
tex4ht supports saving math as images in LaTeX to HTML conversion. by default, it uses png, but it can be configured to use svg instead. if you use tex4ebook, which is based on tex4ht and can export directly to epub and epub3, you can try this build file.

personally, I would go with epub3 and use mathml, because image math is horrible no matters if it is bitmap or svg. downside is poor reader support, but nothing pushes their creators to change that if there are no epub3 math books.
michal.h21 is offline   Reply With Quote
Old 06-20-2015, 10:21 AM   #11
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
Thanks for all suggestions re. mathml and latex tools. Do these tools ensure correct vertical alignment of math as inline images? Do they handle equation numbering in a sensible manner?
SBT is offline   Reply With Quote
Old 06-20-2015, 10:26 AM   #12
thewitt
Zealot
thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.thewitt ought to be getting tired of karma fortunes by now.
 
Posts: 129
Karma: 1135446
Join Date: Nov 2014
Location: Miami, Florida
Device: iBooks
ePUB 2 is not going to ever give you what you want. The text flows, by design, and this means I can increase or decrease the size, change the font, etc. ePUB 3 is going to be your only real option - other than using images and putting the formulas between blocks of text.
thewitt is offline   Reply With Quote
Old 06-21-2015, 05:45 AM   #13
michal.h21
Junior Member
michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!michal.h21 rocks like Gibraltar!
 
Posts: 5
Karma: 100000
Join Date: Feb 2013
Device: Sony PRS-T1
Quote:
Originally Posted by SBT View Post
Thanks for all suggestions re. mathml and latex tools. Do these tools ensure correct vertical alignment of math as inline images? Do they handle equation numbering in a sensible manner?
vertical alignment is tricky part. some experimental solution exists, but the correct way is still epub3 and mathml.
michal.h21 is offline   Reply With Quote
Old 06-21-2015, 11:50 AM   #14
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
Though most grateful for all the suggestions, I would like to return to the original question: Has anybody actually seen an epub2/KF8 book with half-decent math in it?
Given the many tools listed, it seems logical to assume many attempts have been made, but has a technically sucessfull math ebook ever made it to the shelves?
SBT is offline   Reply With Quote
Old 06-21-2015, 04:35 PM   #15
rkomar
Wizard
rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.rkomar ought to be getting tired of karma fortunes by now.
 
Posts: 3,050
Karma: 18821071
Join Date: Oct 2010
Location: Sudbury, ON, Canada
Device: PRS-505, PB 902, PRS-T1, PB 623, PB 840, PB 633
I remember this one rendering surprisingly well in a RMSDK-based application a few years ago. http://downloads.hindawi.com/journal...08/421650.epub. I vaguely recall looking at the HTML inside the epub, and getting the impression that I would never be able to produce something like that myself.
rkomar is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best way to make a well-formatted omnibus book? ficbot Workshop 6 01-03-2013 10:22 PM
Where do I make a request for an MR formatted book? BookCat Feedback 5 03-26-2010 05:21 PM
Math of Publishing Meets the E-Book Madam Broshkina News 7 03-01-2010 05:28 PM
Why the Ipod Touch can show a full page of a book:[Math] darkmonk Apple Devices 11 06-16-2009 05:02 PM
Other Non-Fiction Are there any Physics and Math Paper or book? physics@war Kindle Books 1 04-26-2009 04:57 AM


All times are GMT -4. The time now is 08:35 PM.


MobileRead.com is a privately owned, operated and funded community.