07-06-2024, 12:17 AM | #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, 03:05 AM | #2 |
creator of calibre
Posts: 44,504
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Add
Code:
p { page-break-after: always } |
Advert | |
|
07-06-2024, 04:59 AM | #3 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: Windows 10
|
Quote:
|
|
07-06-2024, 05:49 AM | #4 |
creator of calibre
Posts: 44,504
Karma: 24495778
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, 10:17 AM | #5 |
Fanatic
Posts: 525
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, 04:43 PM | #6 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2024
Device: Windows 10
|
|
07-06-2024, 04: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 05:49 PM. Reason: SPOILERED files |
|
07-06-2024, 05:55 PM | #8 |
Well trained by Cats
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
|
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 08:00 PM. Reason: i was supposed to be item |
07-06-2024, 07:16 PM | #9 | |
Wizard
Posts: 1,352
Karma: 6794938
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, 08:02 PM | #10 |
Well trained by Cats
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
|
The i was supposed to be item
P12 is just the sample selector, yours will usually be different (eg calibre42) |
07-07-2024, 02:33 AM | #11 |
creator of calibre
Posts: 44,504
Karma: 24495778
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, 06:17 AM | #12 | |
Resident Curmudgeon
Posts: 76,326
Karma: 136006010
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 11:39 AM |
Two images in a single page | Pippo53s03 | ePub | 5 | 04-17-2020 05:56 AM |
Default Paragraph Style When Viewing HTML Files | DuckFOO | Amazon Kindle | 6 | 05-15-2017 09:45 PM |
Print page range in viewer outputs single empty page | larzeb | Library Management | 2 | 04-30-2013 06:24 AM |
Single page "Invalid Page!" error Sony-505 | 2percentright | Calibre | 5 | 07-29-2009 12:22 PM |