Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-23-2011, 12:23 PM   #1
alwright1
Junior Member
alwright1 began at the beginning.
 
alwright1's Avatar
 
Posts: 2
Karma: 10
Join Date: Jan 2011
Location: Mobile, AL
Device: iPhone
epub Margins in iBooks on iPhone/iPod Touch

The margins for uploaded epubs in iBooks are way too large for comfortable reading on such a small device. I know that I can use the tweak epub tool to access the CSS and edit the parts that are causing these giant margins on a small screen, but I would have to do this for each individual book in my library of over 100 ebooks.

Is there anyway to strip the CSS from my books all at once? Is there a way to create an epub iPhone/iPod Touch Output for the converter that will reset the margins? Could someone point me in the right direction?

Thanks!

EDIT TO ADD: I have tried epub to epub conversions to get rid of the margins without luck. epub>txt>epub worked, but it lost the ToC. epub>lit>epub didn't.

(I apologize if this should have been a reply to an earlier post about this problem, but when I went to reply the forum suggested that the post was too old to expect a reply there. Also, most of those posts have had no response other than "edit the css.")

Last edited by alwright1; 01-23-2011 at 12:44 PM.
alwright1 is offline   Reply With Quote
Old 01-23-2011, 02:09 PM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,473
Karma: 1053245
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
There is not way to remove the CSS entirely though conversion other than by converting to a format that doesn't support CSS (such as TXT). As you found this doesn't always produce the best results.

Have you tried an EPUB to EPUB conversion and changed the margin settings in "Page Setup"?
user_none is offline   Reply With Quote
Old 01-28-2011, 11:24 AM   #3
alwright1
Junior Member
alwright1 began at the beginning.
 
alwright1's Avatar
 
Posts: 2
Karma: 10
Join Date: Jan 2011
Location: Mobile, AL
Device: iPhone
Cool

Thanks for trying to help. I did try the epub>epub conversion with zero margins with no luck.

I've fixed the problem. What I ended up doing was using Sigil to change the CSS on the ebooks one at a time. However, since most of the ebooks had come from the same source, most had the same CSS, so I was able to correct the CSS once and then use find and replace feature to correct the rest of the books. I still had to do it to each file individually, but I didn't have to correct the CSS myself every time.
alwright1 is offline   Reply With Quote
Old 01-28-2011, 05:49 PM   #4
Perkin
Guru
Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.Perkin calls his or her ebook reader Vera.
 
Perkin's Avatar
 
Posts: 655
Karma: 64171
Join Date: Sep 2010
Location: Kent, England, Sol 3, ZZ9 plural Z Alpha
Device: Sony PRS-300, Kobo Aura HD, iPad (Marvin)
What I've been doing lately, if a book is fairly simple (no pics/ limited style), I convert it to TXT with markdown (preserves stuff like bold/italics), doing a quick read-through in a text editor fixing some small errors, then converting that back to epub.

I'm quite happy with results, and if any need further editing, I can either use Sigil on the epub, or as I'm doing more, using a text editor on the TXT and adding further markdown and formatting and then re-converting back to epub.

Edit:
(I'm actually using the Textile addition to the TXT as this allows more formatting - sub/superscript and paragraph justification)

Last edited by Perkin; 01-28-2011 at 05:51 PM. Reason: additional info.
Perkin is offline   Reply With Quote
Old 01-31-2011, 04:45 PM   #5
Techn
Junior Member
Techn began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: Ipod Touch
Quote:
Originally Posted by alwright1 View Post
Thanks for trying to help. I did try the epub>epub conversion with zero margins with no luck.

I've fixed the problem. What I ended up doing was using Sigil to change the CSS on the ebooks one at a time. However, since most of the ebooks had come from the same source, most had the same CSS, so I was able to correct the CSS once and then use find and replace feature to correct the rest of the books. I still had to do it to each file individually, but I didn't have to correct the CSS myself every time.
How do you edit this in Sigil?

I found a bit in sigil that said sound about 'margins 5.00000pt', i changed it to 0pt but still nothing

I've been trying everything to edit the margins of my epub's on calibre for ipod use. But as has been said nothing works other than converting to txt, but that ruins the format.
Techn is offline   Reply With Quote
Old 01-31-2011, 07:58 PM   #6
dwig
Guru
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 996
Karma: 1843322
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Dell Venue 8 Pro - Retired:Kindle 3, Clie UX50, T415, ...
I don't have the hardware to test with but you might try ePub>MOBI>ePub using the "Ignore Margins" option on the MOBI output tab when doing the ePub>MOBI conversion.
dwig is online now   Reply With Quote
Old 02-02-2011, 01:14 PM   #7
Techn
Junior Member
Techn began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: Ipod Touch
Quote:
Originally Posted by dwig View Post
I don't have the hardware to test with but you might try ePub>MOBI>ePub using the "Ignore Margins" option on the MOBI output tab when doing the ePub>MOBI conversion.
Thanks for the reply, the result seemed almost the same as converting to txt, so i stuck with that.

it all seems fine, bar the occassionally poor formated paragraph or extra long spaces between some words.
Techn is offline   Reply With Quote
Reply

Tags
css, epub, ibooks, iphone

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What settings do I use in Calibre for iPod Touch iBooks app? Read description. CameraTester Calibre 3 11-15-2010 05:30 AM


All times are GMT -4. The time now is 10:28 AM.


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