![]() |
#1 |
Junior Member
![]() 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. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,573
Karma: 74358018
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 |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,333
Karma: 58000000
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 |
![]() |
![]() |
![]() |
#4 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 742
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; } |
![]() |
![]() |
![]() |
#5 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39,175
Karma: 153098470
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.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,247
Karma: 89531599
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.
|
![]() |
![]() |
![]() |
Tags |
break, edit book |
|
![]() |
||||
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 |