![]() |
#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?
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,243
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Add
Code:
p { page-break-after: always } |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2024
Device: Windows 10
|
Quote:
|
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,243
Karma: 23661992
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.
|
![]() |
![]() |
![]() |
#5 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 519
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
margin-bottom: 98vh !important;
Sent from my Pixel 7 Pro using Tapatalk |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Jul 2024
Device: Windows 10
|
|
![]() |
![]() |
![]() |
#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 |
|
![]() |
![]() |
![]() |
#8 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,247
Karma: 57979022
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 |
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,270
Karma: 6700678
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. |
|
![]() |
![]() |
![]() |
#10 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,247
Karma: 57979022
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) |
![]() |
![]() |
![]() |
#11 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,243
Karma: 23661992
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 } |
![]() |
![]() |
![]() |
#12 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,598
Karma: 134254544
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
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 |