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

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle > Kindle Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 03-30-2012, 01:26 PM   #1
somkk
Junior Member
somkk began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Mar 2012
Device: Kindle 5T
Exclamation Kindle Ebook Conversion

Hi All,!!!

I'm converting from HTML -> Mobi using Calibre.

Plz look at the attached screenshot.

The number "168", and the horizontal line below it, actually mark the ending of a page.

Similarly, the number "169" below, is the page number of the next page.
However, in Kindle, these are being shown as one continuous page!

Plz ignore the colored letters at the bottom of the page. They're scanning artifacts.

Note - Currently, the Horizontal bar inserted into the HTML file, is for identifying where a page ends.

What should I do to make these show as separate pages on the Kindle ?

Thank you!!

PS - A lady friend is leaving for Australia soon.
I want to send her a few books, in a readable format!

Help is greatly appreciated!!

Attached Thumbnails
Click image for larger version

Name:	1.JPG
Views:	109
Size:	66.2 KB
ID:	84689  

Last edited by somkk; 03-30-2012 at 01:28 PM.
somkk is offline   Reply With Quote
Old 03-30-2012, 01:34 PM   #2
ApK
What did you call me?
ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.ApK ought to be getting tired of karma fortunes by now.
 
Posts: 4,566
Karma: 35102999
Join Date: Feb 2010
Location: NJ, USA
Device: Kindle
If you absolutely need hard pagination like that, then print the file to a PDF. The Kindle will read PDFs. You can also just give her the HTML renamed as a .txt file...it can read that too.

But far better if your content did not have such page layouts hard coded...one of the main features of an ereaders is that a "page" is reflowed depending on the users preferences.

Lastly, I'm sure it's possible to tweak Calibre to detect the page number and horizontal rule and make an appropriate page break, but that's well beyond anything I've bothered with.

Last edited by ApK; 03-30-2012 at 01:40 PM.
ApK is offline   Reply With Quote
Old 03-30-2012, 02:14 PM   #3
jswinden
Astrophotographer
jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.jswinden ought to be getting tired of karma fortunes by now.
 
jswinden's Avatar
 
Posts: 5,499
Karma: 6981326
Join Date: Sep 2006
Location: USA
Device: iPad Mini 2, iPhone 5, Nexus 7.2
Quote:
Originally Posted by somkk View Post
Hi All,!!!

I'm converting from HTML -> Mobi using Calibre.

Plz look at the attached screenshot.

The number "168", and the horizontal line below it, actually mark the ending of a page.

Similarly, the number "169" below, is the page number of the next page.
However, in Kindle, these are being shown as one continuous page!

Plz ignore the colored letters at the bottom of the page. They're scanning artifacts.

Note - Currently, the Horizontal bar inserted into the HTML file, is for identifying where a page ends.

What should I do to make these show as separate pages on the Kindle ?

Thank you!!

PS - A lady friend is leaving for Australia soon.
I want to send her a few books, in a readable format!

Help is greatly appreciated!!

The best way to force page breaks is to use HTML as the source for the mobi. Then in the HTML use CSS (Cascading Style Sheets). In your CSS define an element for which you want page breaks to occur before. For example, you can define H1 headings to have a page break before them. To do this, use the following CSS code:

Code:
h1 { page-break-before: always; }
jswinden is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hacks Savory - a native ebook conversion package for the Kindle 2 anurag Amazon Kindle 120 02-19-2012 09:54 PM
eBook Conversion? anamardoll General Discussions 27 07-15-2011 01:32 AM
New to Kindle and ebook conversion adiqua78 Introduce Yourself 7 06-29-2011 08:41 AM
Cover goes missing on Kindle after ebook conversion pcferg Conversion 9 05-15-2011 12:16 PM


All times are GMT -4. The time now is 10:31 PM.


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