Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-10-2014, 05:51 AM   #1
thesn00ze
Member
thesn00ze began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2014
Device: Paperwhite
Page/Chapter Breaker

Hey guys,

Is there any way how to pagebreak in Calibre? To explain better what I mean by that here are two screenshots:



In the first one, a new chapter doesn't start on the new page. Is there any way how to fix that (as it is in the second picture)? The only solution I could find was to create a separate .html page for each chapter but that would mean tons of work in books with a lot of chapters.

Thanks
thesn00ze is offline   Reply With Quote
Old 10-10-2014, 12:30 PM   #2
drjenkins
Addict
drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.drjenkins ought to be getting tired of karma fortunes by now.
 
Posts: 250
Karma: 1702156
Join Date: Nov 2010
Device: Kindle Voyage
If your minor TOC entries are H3, add the following to your CSS style sheet:

h3 {
page-break-before: always;
}

If it is H2 or H4, use H2 or H4 in the style sheet entry.
drjenkins is offline   Reply With Quote
Advert
Old 10-10-2014, 03:30 PM   #3
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Just take in mind that Editor pre-viewer does not support page settings so you won't see that page break in it. (Read the warning you get in that Preview window inside the Editor when you just open it).

But if you go to the Calibre full fledged Viewer you'll see it working.
arspr is offline   Reply With Quote
Old 10-10-2014, 03:54 PM   #4
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,413
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
You'll need to split the chapters into separate XML files. If Calibre's editor can do that for you, then use that otherwise, use Sigil.
JSWolf is offline   Reply With Quote
Old 10-10-2014, 04:26 PM   #5
thesn00ze
Member
thesn00ze began at the beginning.
 
Posts: 23
Karma: 10
Join Date: May 2014
Device: Paperwhite
drjenkins, thanks for the tip, it helped me with other problems

JSWolf, I thought there might be an easier way to do it. Manually splitting book of 60+ chapters would take me forever.

And I have a new problem. For some, to me unknown, reason in the middle of one book it says "Chapter complete" even thou I'm at the beginning of it. XX h XX mins lef in book works. I uploaded that book if someone had time (and be kind) to check where the problem might be. The problems occurs in Part Two, Part One works fine.

Last edited by thesn00ze; 10-11-2014 at 01:04 PM.
thesn00ze is offline   Reply With Quote
Advert
Old 10-10-2014, 05:15 PM   #6
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
In either Sigil or the calibre editor, you just put the cursor where you want the break and push a button. You can even use the find function to get you there. My time estimate might be 10 minutes at the most. Search for part or chapter or whatever the heading is where you want the break.
mrmikel is offline   Reply With Quote
Old 10-10-2014, 06:00 PM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 30,939
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I use Sigil since that is what I have been using for a long time, but Calibre has a similar feature.

If a 'readily identifiable (unique) pattern' exists for where a chapter (target for a file) break exists, just write a S&R to insert the break before the Pattern (remember to restore the pattern if you still use it in the book) NB if the pattern is not Unique, Single step the S&R. 60 chapters: 2 Min tops if it is a clean pattern

In Sigil it is a special tagged <HR /> Yo see a HR rule where the split will happen when you press F6 (split at markers)
theducks is online now   Reply With Quote
Old 10-11-2014, 01:09 AM   #8
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by JSWolf View Post
You'll need to split the chapters into separate XML files. If Calibre's editor can do that for you, then use that otherwise, use Sigil.
NO, JSWolf, you don't need to do that, although, of course, that's the way you guarantee it will always work.

page-break-before (or even -after) CSS property can be used either. But it might not work in some kind of defective/old/simple? renderers. As examples: the aforementioned Editor Preview, and more over, and quite incomprehensibly, Kobo ACCESS renderer for their "advanced" kepubs. (Beware, future H2O buyers...)
arspr is offline   Reply With Quote
Old 10-11-2014, 01:22 AM   #9
arspr
Dead account. Bye
arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.arspr ought to be getting tired of karma fortunes by now.
 
Posts: 587
Karma: 668244
Join Date: Mar 2011
Device: none
Quote:
Originally Posted by thesn00ze View Post
And I have a new problem. For some, to me unknown, reason in the middle of one book it says "Chapter complete" even thou I'm at the beginning of it. XX h XX mins lef in book works. I uploaded that book if someone had time (and be kind) to check where the problem might be. The problems occurs in Part Two, Part One works fine.
Where do you get the "Chapter complete" text? If it is in your Kindle I really think you should ask this question in that sub-forum.

I've just used Calibre Editor check book utility on your book and nothing seems wrong.

OTOH, be careful about posting possibly copyrighted material (I don't know if this is the case). Logically IT'S FORBIDDEN, so DON'T DO IT PUBLICLY. It doesn't matter if you just did it in order to get technical help. Just in case I've already deleted your downloaded book.
arspr is offline   Reply With Quote
Old 10-11-2014, 09:49 AM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,413
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by arspr View Post
NO, JSWolf, you don't need to do that, although, of course, that's the way you guarantee it will always work.

page-break-before (or even -after) CSS property can be used either. But it might not work in some kind of defective/old/simple? renderers. As examples: the aforementioned Editor Preview, and more over, and quite incomprehensibly, Kobo ACCESS renderer for their "advanced" kepubs. (Beware, future H2O buyers...)
The other issue that's not been mentioned is if chapters are split between XML files. If that's the case, then splitting at chapter breaks and making sure each chapter is complete is the best solution that will work best of all.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
1st page replaced by blank "Chapter 1" page tone-alone Calibre 1 07-12-2014 02:58 PM
Blank page before chapter Gerlyn Sigil 5 02-13-2012 09:46 AM
Chapter Headings on their own page? Help! Lee5150 Calibre 3 10-06-2011 08:12 AM
Manual page break as chapter ardeegee ePub 4 04-08-2011 11:35 PM


All times are GMT -4. The time now is 08:38 PM.


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