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 08-06-2024, 09:49 AM   #1
tfonias74
Junior Member
tfonias74 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2017
Device: android
How to add a page break in the editor?

Hello.

Firstly, this SW is phenomenal. Excellent work and features.
I made a conversion from PDF to EPUB which went very well.
After that I started editing the files to fix the problems and I have pretty much cleaned it up. I also set the appropriate headings and created the TOC.
The only thing I have trouble finding is how to set page break before the chapters.

Thanks in advance.
tfonias74 is offline   Reply With Quote
Old 08-06-2024, 10:25 AM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,721
Karma: 75000000
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
The best manner is just to make each chapter it's own file.

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Advert
Old 08-06-2024, 01:30 PM   #3
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,441
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
I am a fan of separate file way.
BUT
go over to W3C and look for the series of CSS Styles

wait for it.......




pagebreak-before, pagebreak-after, pagebreak-inside
theducks is offline   Reply With Quote
Old 08-06-2024, 01:40 PM   #4
enuddleyarbl
Guru
enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.enuddleyarbl ought to be getting tired of karma fortunes by now.
 
enuddleyarbl's Avatar
 
Posts: 750
Karma: 1077122
Join Date: Sep 2013
Device: Kobo Forma
I agree with both comments, above. But, for giggles, here's how I format my chapter headings in the stylesheet:

Code:
h1, h2, h3, h4 {
/* Basic Chapter Heading Styling */
  page-break-before: always;
  page-break-after: avoid;
  text-align: center;
}
I don't think I've ever gone beyond h4, so that's why I've only modified those four.
enuddleyarbl is offline   Reply With Quote
Old 08-06-2024, 05:07 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,399
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
And sadly, you will run into quite a few renderers that will disregard any or all of the page-break directives. You will also find that the page-break-whatever is deprecated and replaced by break-after, break-before and break-inside which are equally likely to be disregarded.
DNSB is online now   Reply With Quote
Advert
Old 08-06-2024, 07:24 PM   #6
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 12,326
Karma: 90943357
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Calibre can split files at <h whatever> Separate files works best and the only way on some platforms.
Quoth is offline   Reply With Quote
Reply

Tags
break, edit book


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
page-break-before: always; avresbo Kobo Reader 1 03-02-2023 08:30 AM
Do you use page-break-after and page-break-inside? fluoresce ePub 14 05-24-2017 01:57 AM
How to add a page break before each chapter barryem Editor 13 10-03-2016 10:11 PM
No page break for H2 RickAltman Calibre 2 06-25-2012 11:02 AM
PAGE BREAK JFS-NMF Recipes 0 03-04-2011 09:15 AM


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


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