|
|
Thread Tools | Search this Thread |
01-21-2024, 08:08 AM | #1 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2024
Device: window
|
Calibre e-book viewer will appear a blank page between almost every chapter
As the title said, When i use Calibre e-book viewer to read EPUB ebook,i encounter an annoyed trouble that a blank page will be added between almost every chapter.
The trouble are appears under a certain situation ,Preferences > Page layout >In paged mode, control the number of pages per screen > Landscape. The number of Landscape is setted with 2. So, e-book viewer will switch to vertical dual page display. But when The number of Landscape is setted with 1, which means e-book viewer display in single page. and, The number of Landscape is setted with 2 and enter full screen, which means e-book viewer display in full screen with vertically dual page, the blank pages will disappear. I Test a lot Version of Calibre. The lastest version-7.3.3 and the last version of 6 (6.29) encounter this issue, However the last version of 5 (5.44) is just fine. The operating system i am running calibre on windows 11 |
01-21-2024, 08:19 AM | #2 |
Resident Curmudgeon
Posts: 76,316
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
There's nothing we can do without seeing the relevant HTML/CSS code.
|
Advert | |
|
01-21-2024, 09:11 AM | #3 | |
Member
Posts: 15
Karma: 10
Join Date: Jan 2024
Device: window
|
Quote:
Even Quick Start Guide which is build-in Calire encounter this issue. When There is a blank page before the chapter which named Task 3:The e-book editor. |
|
01-21-2024, 12:26 PM | #4 |
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
|
I suspect it is caused by the combination of the books (p) margins and your margin settings in the VIEWER.
Until the </body> tag has been process, there needs to be space on the 'page'. That is probably your overflow. FWIW I now avoid non-zero margin-bottom when possible and use the top one of the next P, for most spacing |
01-22-2024, 08:31 AM | #5 | |
Member
Posts: 15
Karma: 10
Join Date: Jan 2024
Device: window
|
Quote:
Code:
p { text-indent:2.5em; margin: 0 0 20px; padding: 0; line-height: 1.8; margin-bottom: 0px; } |
|
Advert | |
|
01-22-2024, 09:10 AM | #6 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2024
Device: window
|
Finally, I 100% sure that it is a bug in window11
I do a lot tests, and find that Linux dont encounter this bug.
The version of my linux is the lastest linux mint based on Debian 12. Cablire is installed by flatpak, its version is 7.4. And, in window, I find some Clues. First, Only when The end of a chapter (crosssponding to a xhtml) ocupies two pages on one screen, it will appears two blank page on the next screen. So, How to find out this bug? By change margins of the page to contrl the end's position on screen, i find that The end of a chapter ocupies one pages (the left page) on screen, the blank page just disappear, and the next screen is next Chapter. Attention, Must press PAGE DOWN to PageDown. When press RIGHT to PageDown, The blank page always appear. |
01-22-2024, 10:51 AM | #7 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2024
Device: window
|
I used another window11 compute to test, and, all is fine. So, I dont know what's wrong.
|
01-23-2024, 03:53 AM | #8 |
Fanatic
Posts: 525
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
|
01-23-2024, 06:35 AM | #9 |
Member
Posts: 15
Karma: 10
Join Date: Jan 2024
Device: window
|
|
01-23-2024, 01:45 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
|
IIRC there was a change made a while back to make it never show 2 chapters when in column mode. A common way Hardbacks did (paperbacks did not leave blank page$) .
|
01-23-2024, 03:31 PM | #11 | |
Grand Sorcerer
Posts: 5,517
Karma: 100606001
Join Date: Apr 2011
Device: pb360
|
Quote:
It allows changing how pages are paired and to keep the last previous page in view when a new page is displayed. |
|
01-23-2024, 08:07 PM | #12 |
Resident Curmudgeon
Posts: 76,316
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Since you are reading in calibre's viewer, the margin can be left as just 0. You can set the L/R margins in preferences.
|
01-23-2024, 08:31 PM | #13 | |
Bibliophagist
Posts: 40,383
Karma: 156982136
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
Personally, I use the following for my basic p code: Code:
p { text-indent: 0; margin: 0 0 0 0; padding: 0.1em 0 0 0; margin-block-end: 0em; } |
|
01-23-2024, 09:13 PM | #14 |
Resident Curmudgeon
Posts: 76,316
Karma: 136006010
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I don't use any sort of space between paragraphs. I don't like them. The indent or the section break tells me I'm on the next paragraph. Besides, Sincee I can read the paragraph with no space, then I don't need the space between paragraphs.
This is the CSS code I use. Code:
p { margin-top: 0; margin-bottom: 0; widows: 1; orphans: 1; text-indent: 1.2em; } |
01-24-2024, 06:28 AM | #15 | |
Member
Posts: 15
Karma: 10
Join Date: Jan 2024
Device: window
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Viewer in 4.2 only open on a blank page on MacOS | Midasza | Viewer | 3 | 08-04-2020 01:16 PM |
Marvin 2.1.5 starts and ends every chapter with a blank page | Clark G. Flipper | Marvin | 3 | 09-30-2013 05:53 AM |
TOC chapter jump blank page - kindle | wyatt650 | Sigil | 3 | 04-12-2013 03:27 PM |
Blank page before chapter | Gerlyn | Sigil | 5 | 02-13-2012 09:46 AM |
Blank page precedes Chapter One | hollowayhouse | Conversion | 6 | 05-06-2011 06:40 PM |