Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 04-02-2025, 03:21 PM   #1
franklekens
Addict
franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.franklekens ought to be getting tired of karma fortunes by now.
 
franklekens's Avatar
 
Posts: 398
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
spacing between paragraphs

I have a few e-books that contain spacing between paragraphs. I know some people actually prefer that, but I hate it, I want the text to look like it does in a book, not with spacing between every paragraph. Only when there are actuall blank lines.

What's the easiest way to remove those, or is there none? Modify Epub doesn't seem to have a setting for it.
I've done a convert epub to epub with the "delete blank lines between paragraphs" in heuristic processing checked, but that doesn't seem to help here. Probably they're not blank lines but some setting like "xx space before/after paragraph", like MS Word's dumb default.

Do I first have to get a PhD in css editing or something to remedy this (which is not going to happen), or is there an easy way?
franklekens is offline   Reply With Quote
Old 04-02-2025, 03:25 PM   #2
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,062
Karma: 237062052
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
No easy way other than editing the css. And no, you don't need a degree to do this. It's not actually that hard, once you've familiarized yourself with it a bit.
Sirtel is online now   Reply With Quote
Advert
Old 04-02-2025, 03:56 PM   #3
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by franklekens View Post
I have a few e-books that contain spacing between paragraphs. I know some people actually prefer that, but I hate it, I want the text to look like it does in a book, not with spacing between every paragraph. Only when there are actuall blank lines.

What's the easiest way to remove those, or is there none? Modify Epub doesn't seem to have a setting for it.
I've done a convert epub to epub with the "delete blank lines between paragraphs" in heuristic processing checked, but that doesn't seem to help here. Probably they're not blank lines but some setting like "xx space before/after paragraph", like MS Word's dumb default.

Do I first have to get a PhD in css editing or something to remedy this (which is not going to happen), or is there an easy way?
I learned a lot about HTML/CSS and eBooks by editing my eBooks.
JSWolf is offline   Reply With Quote
Old 04-02-2025, 05:40 PM   #4
fogice
Addict
fogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of lightfogice is a glorious beacon of light
 
Posts: 241
Karma: 12092
Join Date: May 2014
Device: Kobo Libra 2
The brute force method, which works maybe 80% of the time, is:
Convert books > Look & Feel > [v] Remove space between paragraphs, and Indent size 1.5em
fogice is offline   Reply With Quote
Old 04-03-2025, 07:02 AM   #5
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,637
Karma: 103503445
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by fogice View Post
The brute force method, which works maybe 80% of the time, is:
Convert books > Look & Feel > [v] Remove space between paragraphs, and Indent size 1.5em
I find it works 100% of time on PD sources, though I prefer 1.3em. I also smarten punctuation with those.

If a bought book has the "children's book" spacing (and maybe stupidly indent too) I edit rather than using the automatic conversion. I do convert ALL added ebooks with the remove line-height and white-space in the CSS removal settings.
Quoth is offline   Reply With Quote
Advert
Old 04-03-2025, 07:40 AM   #6
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Quoth View Post
I find it works 100% of time on PD sources, though I prefer 1.3em. I also smarten punctuation with those.

If a bought book has the "children's book" spacing (and maybe stupidly indent too) I edit rather than using the automatic conversion. I do convert ALL added ebooks with the remove line-height and white-space in the CSS removal settings.
Removing removing paragraph spacing doesn't always works. When an eBook has a blank space for the section break designation, sometimes that too can be removed.
JSWolf is offline   Reply With Quote
Old 04-03-2025, 09:41 AM   #7
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,637
Karma: 103503445
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by JSWolf View Post
Removing removing paragraph spacing doesn't always works. When an eBook has a blank space for the section break designation, sometimes that too can be removed.
That tends to be only in bought books, where I never automatically remove spacing. I'd make sure that has also a no-indent style. I've not seen it in PD.

Sometimes though a blank paragraph or a <br /> is used for paragraph spacing and I'd fix that. The only useful thing I see for <br /> in an ebook is to break a heading on to two or more lines as you might want only one heading tag per heading for automatic TOC generation or automatic file breaks in conversions etc. There is no reason ever for an empty <p></p>, either the preceding or current paragraph should have a style.
Quoth is offline   Reply With Quote
Old 04-05-2025, 03:33 PM   #8
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,581
Karma: 14328510
Join Date: Nov 2019
Device: none
I also use the brute force method fogice mentioned. Then I get out my big sledge hammer and fix other things (things that calibre's books converter doesn't handle) with the following regexp for the css file. I do this in Sigil. The following goes in the upper search and replace box and in the replace with box is nothing. So all of those css directives are removed, regardless of the value. Afterwords all text is the same size, except for h2, h3, etc. (although many authors format headers with the p tag so they end up not looking as nice). One of the main things I'm after is being able to open a book and not needing to fiddle with the font size slider. The page-break stuff was recently added after I had a book with weird page breaks.

Code:
(  display: block;
|  font-size: .*
|  letter-spacing:.*
|  line-break: strict;
|  line-height: .*
| page-break-after:.*
| page-break-before:.*
| page-break-inside:.*
|  vertical-align: .*
|  white-space: pre-wrap;
)
hobnail is offline   Reply With Quote
Old 04-05-2025, 03:59 PM   #9
Sirtel
Grand Sorcerer
Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.Sirtel ought to be getting tired of karma fortunes by now.
 
Sirtel's Avatar
 
Posts: 13,062
Karma: 237062052
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
Quote:
Originally Posted by hobnail View Post
One of the main things I'm after is being able to open a book and not needing to fiddle with the font size slider.
That can be easily done without using the sledgehammer method. I've not touched the font size slider on my Kobos for years.
Sirtel is online now   Reply With Quote
Old 04-05-2025, 04:01 PM   #10
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 78,936
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Sirtel View Post
That can be easily done without using the sledgehammer method. I've not touched the font size slider on my Kobos for years.
I do touch the font slider if I am in bed and want the font size larger. I do put the font slider back the the size I read most of the time.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
There's no spacing between paragraphs Tior500 Conversion 1 12-02-2019 10:18 AM
Touch Extra spacing between paragraphs on my e-books Aiden Barnes & Noble NOOK 8 12-11-2013 11:17 AM
Spacing between paragraphs not converting beccas716 Conversion 4 10-11-2013 10:25 AM
Removing spacing between paragraphs, not between sections jlbfoot Calibre 4 12-03-2010 10:41 PM
Remove spacing between paragraphs doesn't. Djehuty Calibre 6 04-28-2009 04:53 AM


All times are GMT -4. The time now is 07:57 AM.


MobileRead.com is a privately owned, operated and funded community.