08222013, 01:56 PM  #1 
Member
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire

Mathematical Equations in epubs
If you have a technical book with many mathematical equations in word, what is the best way to convert the file into an epub. Should you save the word file as an earlier version to convert all the equations into images, or is there a way to bring the equations into the epub file as text by embedding a font?

Advert  

08222013, 02:19 PM  #2 
Wizard
Posts: 1,068
Karma: 2068710
Join Date: Feb 2008
Device: Sony PRS600, Toshiba Encore 2 Write 10


08222013, 06:47 PM  #3  
Guru
Posts: 780
Karma: 2680907
Join Date: Mar 2013
Location: Rosario  Santa Fe  Argentina
Device: Kindle 4 NT

Quote:
Last edited by RbnJrg; 08222013 at 06:49 PM. 

08232013, 02:21 AM  #4 
Wizard
Posts: 4,388
Karma: 119701607
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS300, PRST1

If I have equations, I always convert them into a SVG via codecogs. That has the advantage that it can scale with the textsize with no loss to quality.

08232013, 04:19 AM  #5 
eBook Enthusiast
Posts: 81,437
Karma: 75601787
Join Date: Nov 2006
Location: UK
Device: Kindle Voyage, iPad Pro 10.5", iPhone 6

Yes, SVG is the best solution, so it scales with the font.

Advert  

08232013, 05:27 PM  #6 
Guru
Posts: 780
Karma: 2680907
Join Date: Mar 2013
Location: Rosario  Santa Fe  Argentina
Device: Kindle 4 NT

Of course, svg images are optimal but the problem with this method is that the OP should write again all the equations (and after that, to reembed them in the html file). If he were to start from zero, your advice is probably the most wise, but with the .doc file with the equations already written, I don't know if using the codecogs services if the better choice.

08242013, 08:47 AM  #7  
Member
Posts: 86
Karma: 12586
Join Date: Nov 2012
Device: Ipad and Kindle Fire

Automatic Equations for Whole Pages
Quote:
http://www.codecogs.com/latex/htmlequations.php It says that by adding a script to the header section of each page and tagging the equations with lang="latex" the equations are included as scalable graphic which can be formatted with css. I tried it out for a page and it seemed to work, even when offline. 

08242013, 09:09 AM  #8 
Wizard
Posts: 4,388
Karma: 119701607
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS300, PRST1

But it will probably not work on a reader.

08302013, 06:49 AM  #10 
Fanatic
Posts: 580
Karma: 810182
Join Date: Sep 2010
Location: Norway
Device: prst1, tablet, Nook Simple, assorted kindles, iPad

I'm working on the same problem.
I've coded the equations as LaTeX formulae out of force of habit. I'll probably retain the Latex for the pure ASCII version, use itex2MML to convert to MathML to futureproof it, and use pmml2svg to convert the MathML to SVG for an epub2 version. I might also use dvisvg to convert the LaTeX directly to SVG. 
Tags 
conversion of equations, equations in epubs 
Thread Tools  Search this Thread 

Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Handle mathematical equations in native vector format  laksathish  Kindle Formats  3  07052013 12:07 PM 
Viewing equations  DMB  Amazon Kindle  6  07082011 09:53 AM 
Support for mathematical equations in PDFs  tkmudholkar  9  07032011 07:17 AM  
PRS505 Math equations  luma  Sony Reader  4  06042010 07:44 AM 
Equations in PDFs  SteveMPotter  Kindle Developer's Corner  1  02202008 12:01 AM 