![]() |
#1 |
Connoisseur
![]() Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
|
Any way to double the line returns in an ePub?
I have a couple epub books that don't have a large line return between paragraphs which makes it very hard to read. I prefer when there's a full blank line separating paragraphs. Is there any way I can run this file through something and have it double any line returns it finds so there will be the extra line?
Or are there any readers that I can set in options to show line returns double or anything like that? Thanks. |
![]() |
![]() |
![]() |
#2 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
set margin-top: 2em (about 2 lines high) for the paragraph class in the line below the gap. (foo in this case) Previous para</p> <p class-"foo"> IMHO scene breaks should have their own class (for good control) <p class="scenebreak">* * *</p> |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
|
This isn't an epub I created, it's one I got from a friend of mine. What program can I use to make the changes? Can I just open it and do a huge find/replace?
|
![]() |
![]() |
![]() |
#4 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
No huge S&R 1 (one) edit of the CSS might do it. All depends ![]() |
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
|
OK, I found all the paragraphs with this line between each:
<br class="calibre1"/> When I checked the css file the calibre1 section didn't have anything in it. I tried adding margin-top:2em but it didn't seem to do anything. I'll keep playing when i have more time. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
![]() I just (today) answered how to do the S&R to remove this. do you have more than 1 thread going? |
|
![]() |
![]() |
![]() |
#7 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
continued
1) clean up the mess and remove the </p><br... mess
this will give a consistent base to work with. 2) add or increase the margin-top: value for the <p class= (note: you may have more than 1 class to change. first paragraphs, indented paragraphs are not unusual. you might also have a class for Blockquotes.) That should now give you a cleaner base to fine tune. I use .5em for my standard top margin on indented paragraph books. I raise it to .85 for block paragraphs NB I am stingy with space that does not add to readability (with my tired eyes ![]() ![]() |
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() Posts: 50
Karma: 10
Join Date: Jan 2013
Device: Android
|
It actually looks like nothign is formatted as an actual paragraph. Just linesof text with the <br stuff in the middle which just adds a line break. Maybe if I just replace the <br> tags with <p> tags that will do what I want. hmm
Otherwise I'l have to do a bunch of find/replace to swap the <br strings with regular <p> things and go from there I guess... |
![]() |
![]() |
![]() |
#9 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,057
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
replace with: </p> <p class='your-class'> |
|
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Give the book back to your friend and tell him to learn to create an e-book first. This sounds like a real, unnecessary mess to me.
|
![]() |
![]() |
![]() |
#11 | ||||
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
|
Quote:
Quote:
You could try editing CSS class: Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
#12 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Question, before eBooks, printed books didn't have paragraph spaces. So how did you manage to read them if they were so hard to read? I've never once heard anyone say (or saw anyone write) that paper books need paragraph spaces to make them easier to read. I've heard complains about some books having too small a font size, but never about anyone wanting paragraph spaces. |
|
![]() |
![]() |
![]() |
#13 | ||||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
That is your opinion.
Quote:
Here is a list of some of them: https://www.fonts.com/content/learni...aph-formatting And I just stumbled across a fantastic in-depth answer discussing paragraph spacing: https://english.stackexchange.com/qu...hen-do-you-not Also, it seems like lately I have been stressing ebooks for accessibility reasons. Here is one of the Accessibility Style Guides that was linked on Wikipedia (I recommend reading through it): http://www.aph.org/edresearch/lpguide.htm Quote:
Quote:
Side Note: You may also want to look around for Web Design Style Guides (aimed towards accessibility). Those might also have many good ideas to bring over into ebooks. Quote:
![]() Last edited by Tex2002ans; 07-01-2014 at 02:51 PM. |
||||
![]() |
![]() |
![]() |
#14 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,756
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I have never heard (or read of) anyone complaining that a pBook needs paragraph spaces. A pBook (most of the time) uses indents instead of paragraph spaces.
A lot of those layout suggestions make for a lousy read as the formatting will then get in the way of the book. You want formatting that isn't obvious when you are reading. But these people who do prefer to mangle the formatting of their eBooks, did they ever complain about pBooks needing all this excess space? 1.5em between lines with a 1.25em paragraph space is going to interfere with reading. You'll be focused on the poorly formatted book more so then the words. I have seen a number of eBooks these days formatted with a .3em line space and a 1.2em indent. personally, I'd remove the .3em paragraph space, but even so, .3em is not unreadable. The eye doesn't stop on a blank line because it's not a full blank line. Using a sans-serif font is not all that wonderful for the body text. Sans-serif should be used for headers/titles/highlighting/offsetting text but not for the body text. I will defend people's right to hypocritically mangle their eBooks if they want just as it's my right to point out how wrong it is. |
![]() |
![]() |
![]() |
#15 | ||||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,306
Karma: 13057279
Join Date: Jul 2012
Device: Kobo Forma, Nook
|
Quote:
Feel free to read lots of typography books/sources as well. Hitch recommended this book to me, "The Elements of Typographic Style" by Robert Bringhurst. It is highly regarded in the typography world as one of the top "must have" books. In typography, you typically settle on a text indent OR paragraph spacing, you don't really mix both because that would be "redundant" (although you could). (Bringhurst explained the idea/history behind it way better than I ever could). The Style Guides that I linked to on APH + British Dyslexia Association were dedicated towards certain reading accessibility issues (APH publishes many books for the reading impaired (Large Print Editions, etc. etc.), the British Dyslexia Association is dedicated towards readers with Dyslexia). I assume they did all of their research and found that THOSE layouts (larger line-height, space between paragraphs, left aligned, etc. etc.) are MORE READABLE for their market. Perhaps these styles are not to YOUR specific liking, and perhaps not as BEAUTIFUL as a normal book... but more READABLE. Quote:
And if you can't find anyone else complaining about the layout of physical books, then I can step up and be your first example (now you can say you have HEARD OF it as well). Nice to meet you! ![]() Quote:
Here is a snapshot from the original PDF: (My personal preference/what I use) Code:
p { margin-top: 0; margin-bottom: 0; line-height: 1.2em; text-align: justify; text-indent: 2em; } Code:
p { margin-top: .3em; margin-bottom: 0; line-height: 1.2em; text-align: justify; text-indent: 1.2em; } Code:
p { margin-top: 1em; margin-bottom: 0; line-height: 1.5em; text-align: justify; text-indent: 0; } Quote:
Some CSS errors are MUCH more egregious than others (forcing font sizes in px, forcing black text, etc. etc.). But having differing line-heights, text-indents, and paragraph spacing is not bad at all. I would place it extremely low on my "must be destroyed" list. (#1 for me is probably the death of JPG (for artificial images)). ![]() |
||||
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Google Play Books on iPad Air - too big/double line spacing? | pwjone1 | Apple Devices | 2 | 06-09-2014 11:20 AM |
Validating epub returns warning | writerkit | Conversion | 2 | 03-30-2013 02:35 AM |
No double LL's-PDF to EPUB | Pancho Harrera | Workshop | 7 | 08-13-2010 10:28 PM |
ePub double spacing | leebase | Calibre | 5 | 03-30-2010 03:42 PM |
Stripping extra line returns | jwhayn | Sony Reader | 3 | 02-27-2010 06:46 PM |