Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 07-20-2011, 05:13 PM   #1
rplantz
Member
rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.rplantz ought to be getting tired of karma fortunes by now.
 
Posts: 21
Karma: 493474
Join Date: Mar 2011
Location: Northern California
Device: Acer A500
Vector graphics and math equations

I have written a 500+ page college textbook on computer architecture and assembly language programming. It has over 100 figures (vector graphics), over 300 computer code listing, many tables, and many math equations. I wrote it in LaTeX, so it is beautifully formatted for a printed page, 8.5" x 11". This is a completed book; it has been used in the classroom at three colleges over the past ten years. Despite excellent reviews, traditional publishers feel that the market isn't big enough for them to make money on it.

I also produced a pdf version that has 0.1" margins and no binding gutter. It includes hyperlinks for all cross references and syntax coloring for the computer code listings. Students prefer this format for their mobile readers.

I would like to convert it to epub format so I can sell it on PubIt. (B&N runs many college bookstores.) But with all the figures, code listings, etc., that will not be a trivial task. Conversion programs like Calibre do not work on the figures, equations, and tables. I am prepared to do the conversion "by hand" but would like to know the best formats for vector graphics figures, math equations, etc. before this undertaking, since it will be a lot of work.

For example, I "drew" the figures using LaTeX's vector drawing commands. I would need to create a "master" file and temporarily paste each "drawing" into it for processing by LaTeX. From there I can produce either svg or png files. I believe that I can also do this with math equations. I assume that I will have to tweak tables "by hand."

Questions: What are the best formats for vector graphics and/or math equations in epub? Am I going in the right direction? Are there better ways to do this?
rplantz is offline   Reply With Quote
Old 07-20-2011, 06:51 PM   #2
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
SVG will certainly be superior for the figures, and frankly I'd investigate using it for the equations as well, since setting them in xhtml/css is going to be a royal pain (ePub3 has embraced MATHML, but that's for the future).

Don't even bother touching calibre, it'll just introduce more work cleaning things up. Start from the ground-up in Sigil and keep the styles as simple and consistent as possible.
charleski is offline   Reply With Quote
Advert
Old 07-23-2011, 01:50 PM   #3
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,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
If you code the figures using the LaTeX package tikz (which is awesome), I believe you can then convert them to SVG.
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which is the best way to add SVG (vector graphics) to PDF files ? DSpider PDF 0 04-01-2011 07:27 PM
when will calibre support vector graphics in pdf to epub conversion smith9 Calibre 5 11-13-2010 05:03 AM
Bug rendering PDF vector graphics on Kindle DX DeReader Amazon Kindle 3 07-12-2010 02:50 PM
PRS-505 Math equations luma Sony Reader 4 06-04-2010 07:44 AM
Vector at in ereaders notimeflat General Discussions 1 04-15-2010 11:19 AM


All times are GMT -4. The time now is 02:17 PM.


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