01-19-2022, 04:18 PM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2022
Device: Kobo Aura One
|
Inserting page breaks before headings
EDIT: I might have posted in the wrong section, so I reposted under "Calibre > Editor" and your help is welcomed there! Link is https://www.mobileread.com/forums/sh...44#post4191044
Hello! I'm reading a book which is mostly short-form poetry and I'd like each poem to start on a new page. (I'm on a Kobo Aura One with Calibre 3.48 as my Mac is running on High Sierra.) I've tried adding the following piece of code: Code:
page-break-before: always; Code:
h1, h2, h3, h4, h5, h6 { page-break-before: always; font-weight: normal; font-style: normal; text-align: left; page-break-after: avoid; } Thank you! Last edited by fabianmoreno01; 01-19-2022 at 04:23 PM. |
01-19-2022, 04:22 PM | #2 |
Running with scissors
Posts: 1,552
Karma: 14325282
Join Date: Nov 2019
Device: none
|
Perhaps not the answer you want but the sure fire way of ensuring a page break is to put each thing in its own file; chapter, poem, etc.
|
Advert | |
|
01-23-2022, 06:48 AM | #3 |
Resident Curmudgeon
Posts: 73,975
Karma: 128903378
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Page breaks do not work in KePub. Page breaks work in ePub.
|
01-23-2022, 03:13 PM | #4 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2022
Device: Kobo Aura One
|
Thanks @JSWolf, I read that and it is absolutely key!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inserting Page Breaks At Chapters | Reader Bill | Editor | 9 | 09-20-2019 08:29 AM |
ebook-convert (docx->html) inserting too many page breaks | xanguera | Conversion | 3 | 07-31-2015 08:05 PM |
Level 2 headings without page breaks? | RobertDDL | Conversion | 2 | 06-04-2015 06:40 AM |
inserting a "ruled Line" /chapter and page breaks | tscamera | Calibre | 3 | 01-05-2011 04:47 PM |
Kindle inserting page breaks? | december | Calibre | 8 | 07-15-2010 09:47 AM |