![]() |
#1 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Page breaks in Mobi files
When I create Mobi books, I always force a pagebreak by adding the Mobi-specific: "<mbp:pagebreak> tag to the file.
I notice, however, that when I convert LIT books to Mobi, they come out with hard page breaks at the start of chapters without doing this. What other methods are there of forcing a pagebreak in a Mobi book? Anyone know? |
![]() |
![]() |
![]() |
#2 | |
The Grand Mouse 高貴的老鼠
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 72,073
Karma: 307935764
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
<style type="text/css"> h1 { text-indent: 0; text-align: center; page-break-before: always } </style> The page-break-before: always gets converted into the Mobi-specific code by Mobipocket Creator. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
That would explain it. Thanks, Paul!
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Feb 2012
Device: Kindle
|
Page Break
Hi all - I`m new to this so where exactly in the HTML code would this little piece of script be entered as I am having trouble separating pages of a book which I have scanned from OCR to HTML.
When viewed in Sigil it is fine but when converted to Mobi for my Kindle I don`t get the separate pages and so this means it is really really messy. For example : At the end of Chapter 1 instead of creating a new page for Chapter 2 it continues at the end of Chapter 1 on the same page ! Where am I going wrong ? Would creating a TOC file in Sigil work do you think or would I still not get the separate pages. Sorry for being new and being a pain in the rear ! Thanks all Anthony ![]() |
![]() |
![]() |
![]() |
#5 |
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
The easiest way to do it is to add to your HTML:
Code:
<mbp:pagebreak> |
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mobi page breaks in Calibre viewer | DaleDe | Calibre | 3 | 04-04-2011 01:58 AM |
Chapters and page breaks in TXT files | scarab1 | Ectaco jetBook | 0 | 03-06-2010 02:08 PM |
Problem with --page-breaks-before | pepak | Calibre | 5 | 10-24-2009 04:50 PM |
Page breaks | enarchay | Calibre | 18 | 05-31-2009 06:57 PM |
eb1150 and page breaks | sea2stars | Fictionwise eBookwise | 10 | 09-13-2007 01:28 PM |