Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2011, 05:31 PM   #1
jmanque
Fountain pen test pilot
jmanque doesn't litterjmanque doesn't litterjmanque doesn't litter
 
Posts: 4
Karma: 200
Join Date: Aug 2011
Location: San Francisco
Device: Kindle
Question Picture Book For Kindle Conversion Problems

I'm trying to create a picture book in .mobi format for use on Kindle. I created it in Writer, saved it as html, and converted it with Calibre.

It's really simple, a TOC with a series of pictures.

When I view the book in Mobipocket Reader it displays fine, with all TOC links working. When I view it in Calibre's viewer it display fine as well.

However, when I put it on either a Kindle gen 2 or Kindle gen 3 there's a problem. All the pictures are there, but between each is a blank page, and each link in the TOC links not to the picture, but to the blank page in front of it.

I've tried making several changes in the way Calibre does the conversion with no luck. The trouble is I don't know what's happening so it's largely trial and error and the output is always the same- fine on any computer reader, blank pages on Kindle eReaders.

Does anyone know what the problem might be and how to solve it?
jmanque is offline   Reply With Quote
Old 10-02-2011, 08:43 AM   #2
jmanque
Fountain pen test pilot
jmanque doesn't litterjmanque doesn't litterjmanque doesn't litter
 
Posts: 4
Karma: 200
Join Date: Aug 2011
Location: San Francisco
Device: Kindle
In doing a little more trial and error on this I found the problem was in the way the file was being converted to .html, or the way the .html was being converted to .mobi. A blank line was being added to the beginning of every paragraph (which in this case was a picture) and in the case of Kindle hardware readers displayed as a blank page between pictures. Anyway, there is an easy fix. It's in this thread-

https://www.mobileread.com/forums/sho...d.php?t=149291

-for anyone who wants to read it. Long story short, from kovidgoyal's message, just enter-

p, div { margin: 0pt; padding: 0pt }

-in the 'extra css' text box of the conversion settings. This eliminates the line which turns into a blank page in a series of pictures.
jmanque is offline   Reply With Quote
Advert
Old 10-02-2011, 10:49 AM   #3
dwig
Wizard
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: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by jmanque View Post
...just enter-

p, div { margin: 0pt; padding: 0pt }

-in the 'extra css' text box of the conversion settings. ...
If this is a work-in-progress and future edits will be done to the HTML, you might be better off adding similar styles to a <style> </style> section in the <head> section of the HTML. That way the style setting are persistent since its in the source document and you don't have to remember to add the extra CSS every time.
dwig is offline   Reply With Quote
Old 10-02-2011, 08:45 PM   #4
jmanque
Fountain pen test pilot
jmanque doesn't litterjmanque doesn't litterjmanque doesn't litter
 
Posts: 4
Karma: 200
Join Date: Aug 2011
Location: San Francisco
Device: Kindle
Quote:
Originally Posted by dwig View Post
If this is a work-in-progress and future edits will be done to the HTML, you might be better off adding similar styles to a <style> </style> section in the <head> section of the HTML. That way the style setting are persistent since its in the source document and you don't have to remember to add the extra CSS every time.
Thanks for the tip. While I'm done with this little project for now, I have a tendency to be a tweaker, so may do that if the urge strikes.
jmanque is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
sending scanned book to Kindle for conversion? Georgia Swan Workshop 0 07-31-2011 10:52 AM
Kindle book Conversion/DRM error help Mkoenig Amazon Kindle 8 05-18-2011 09:17 AM
Problems with conversion CrazyTosser Calibre 0 10-25-2010 10:58 AM
Problems with PDF to Mobi conversion in Calibre (for my Kindle 3) star Calibre 1 09-13-2010 01:01 PM
Anyone willing to take Picture with my book on the screen ? alexibm Sony Reader 9 09-17-2007 04:19 PM


All times are GMT -4. The time now is 05:58 AM.


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