07-05-2024, 11:17 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: Windows 10
|
Single paragraph viewing per page?
Is there a way I can make each page view only a single paragraph?
|
07-06-2024, 02:05 AM | #2 |
creator of calibre
Posts: 44,413
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Add
Code:
p { page-break-after: always } |
Advert | |
|
07-06-2024, 03:59 AM | #3 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: Windows 10
|
Quote:
|
|
07-06-2024, 04:49 AM | #4 |
creator of calibre
Posts: 44,413
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Then your book isnt actually using <p> tags for paragraphs, in which case there isnt any generic way to do this it will depend on per book markup.
|
07-06-2024, 09:17 AM | #5 |
Fanatic
Posts: 520
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
margin-bottom: 98vh !important;
Sent from my Pixel 7 Pro using Tapatalk |
Advert | |
|
07-06-2024, 03:43 PM | #6 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: Windows 10
|
|
07-06-2024, 03:54 PM | #7 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: Windows 10
|
Quote:
Spoiler:
Last edited by theducks; 07-06-2024 at 04:49 PM. Reason: SPOILERED files |
|
07-06-2024, 04:55 PM | #8 |
Well trained by Cats
Posts: 30,409
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
By reverse engineering the files.
But wait, Calibre Editor made it simple Code:
<p class="p12">Natesa laughed, and shook her head.</p>
insert that page break code there Last edited by theducks; 07-06-2024 at 07:00 PM. Reason: i was supposed to be item |
07-06-2024, 06:16 PM | #9 | |
Wizard
Posts: 1,338
Karma: 6700864
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
|
Quote:
It should be ctrl-left mouse button on the "p12" class. I don't know what the "i" and lime is as they don't appear in the snippet you posted. |
|
07-06-2024, 07:02 PM | #10 |
Well trained by Cats
Posts: 30,409
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
The i was supposed to be item
P12 is just the sample selector, yours will usually be different (eg calibre42) |
07-07-2024, 01:33 AM | #11 |
creator of calibre
Posts: 44,413
Karma: 23977332
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Look at the HTML markup in your book. Find out what tags is used for paragraphs. Then in the CSS add
Code:
whatever-tag-that-is { page-break-after: always !important } |
07-07-2024, 05:17 AM | #12 | |
Resident Curmudgeon
Posts: 76,063
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Page Size Equalizer-To single-page capture camera scan | Rip8 | Workshop | 1 | 06-30-2021 10:39 AM |
Two images in a single page | Pippo53s03 | ePub | 5 | 04-17-2020 04:56 AM |
Default Paragraph Style When Viewing HTML Files | DuckFOO | Amazon Kindle | 6 | 05-15-2017 08:45 PM |
Print page range in viewer outputs single empty page | larzeb | Library Management | 2 | 04-30-2013 05:24 AM |
Single page "Invalid Page!" error Sony-505 | 2percentright | Calibre | 5 | 07-29-2009 11:22 AM |