07-04-2024, 06:09 AM | #1 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle
|
How to get rid of blank parts after the end of the section?
I'm using the news fetching feature and sometimes I turn it into a PDF just in order to read in PDF(sometimes printing important ones) but I don't want it to be interrupted by blanks and want to continue or flow it just right after the end of the section or page. Is it possible to disable page breaks?
|
07-04-2024, 10:05 AM | #2 |
creator of calibre
Posts: 44,657
Karma: 24966646
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No, those arent page breaks those are the ends on individual internal HTML files. Conversion to PDF doesnt have any facilities for merging individual HTML files, though you can do so by converting to MOBI and then converting the MOBI file to PDF while using extra css to suppress page breaks as conversion to MOBI will merge everything into a sngle html file internally.
|
07-04-2024, 10:31 AM | #3 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle
|
|
07-04-2024, 10:43 AM | #4 |
creator of calibre
Posts: 44,657
Karma: 24966646
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
In the look & feel section of the conversion dialog there is an extra css setting add something like
Code:
* { page-break-after: avoid !important; page-break-before: avoid !important } |
07-04-2024, 10:56 AM | #5 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle
|
Didn't work and also I have 800+ page more(original page amount is 66) right now with random page breaks.
|
07-04-2024, 11:10 AM | #6 |
want to learn what I want
Posts: 1,356
Karma: 6874872
Join Date: Sep 2020
Device: Calibre E-book viewer
|
I've tested the extra CSS out of curiosity and it seemed to work for me (got 43 pages), although I see some random breaks too.
|
07-04-2024, 11:22 AM | #7 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle
|
|
07-04-2024, 11:28 AM | #8 |
want to learn what I want
Posts: 1,356
Karma: 6874872
Join Date: Sep 2020
Device: Calibre E-book viewer
|
I've tried it first on epub to mobi *and* on mobi to pdf. Then I tried only on mobi to pdf, got the same results apparently
|
07-04-2024, 11:35 AM | #9 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle
|
Last edited by BetterRed; 07-04-2024 at 06:31 PM. Reason: thumbnail OVERSIZE images - see guidline #9 |
07-06-2024, 07:30 AM | #10 | |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle
|
Quote:
Any help? |
|
07-06-2024, 11:52 AM | #11 |
Well trained by Cats
Posts: 30,509
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
There is no Magic Way.
You craft fixes (when possible), by reverse engineering THE CODE or CSS, based upon what you found. This requires you understand Basic HTML / CSS Those junk areas could be any of a dozen different things (or combinations ) A blank IMAGE as filler (very common in the old days) <br /> <p class="break"> non-breaking space </p> or using <div> styling (in the CSS or inline ) with margin-bottom: padding-bottom minimum-height |
07-07-2024, 09:00 AM | #12 |
Junior Member
Posts: 7
Karma: 10
Join Date: Jul 2024
Device: Kindle
|
Nah, whoever reads this, guys do not try to deal with this. Try a RSS to HTML tool(easiest) or just use reading extensions to download html of webpages individually. Then make them PDF that's easier than dealing with "fetch news" feature. Take care.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Getting rid of the Bottom Margin's Blank Space | denbertu | KOReader | 8 | 01-16-2020 11:58 AM |
How do I get rid of blank pages between indexes in E-PUBin | Coolmeadow Kid | Editor | 0 | 01-10-2017 09:05 PM |
Getting rid of a blank page | iroquois | Sigil | 4 | 04-01-2012 01:33 AM |
get rid of blank line html code | Blurr | Calibre | 4 | 12-28-2009 10:20 PM |
epub to pdf conversion: blank page inserted before any section | Nicoo | Calibre | 0 | 12-06-2009 07:10 PM |