Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-13-2017, 06:14 PM   #1
Just some guy
Junior Member
Just some guy began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2017
Device: none
Fast way of adding empty lines to all paragraphs (or, even better, increase spacing)?

Hi,
I'm an absolute beginner, and I literally don't have a clue about html and css.

I've converted a bunch of InDesign files to ePub, and everything looks fine except I realize that the spacing before and after paragraphs are almost non-existing in the ePub.

So I'm looking for a fast and easy way to add some extra space, preferably by cheating so I won't have to learn anything about ebook editing. (Not just because I'm lazy; I've only got this one book and I'm never ever going to write another, so it's just not worth it to spend too much time.)

I found out that it's possible to simply add a <br> in the code whereever I want an empty line (that won't make the entire file explode or something, will it?), so that's an option if everything else fails.

Only thing is I need to do it like a thousand times, so it would be really nice if there were some kind of automated way to do it. Also, a full line is a bit over the top; something like 3/4 line or so would be perfect...

Thank you in advance for any hints or suggestions!
Just some guy is offline   Reply With Quote
Advert
Old 03-13-2017, 06:33 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 20,053
Karma: 19426644
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
margin-top: 1em; adds 1em of height (em is the current size of the line)
2em makes 2 lines of top space

you add this to the CSS for the style in the <p style="name_here">

if the p has no style
just assign to the "p' level

Code:
p {margin-top: 1em;}
theducks is online now   Reply With Quote
Old 03-13-2017, 07:00 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: 46,494
Karma: 34674361
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
A 1em paragraph space is too much. It distracts from reading as your eye doesn't move to the next paragraph but to the space instead. It can get mistaken for a section break. But overall, a 1em space makes the book rather hard to read.

I've seen some publishers use a .3em space between paragraphs. That's not going to throw the reader out of the book.
JSWolf is online now   Reply With Quote
Old 03-13-2017, 09:08 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 20,053
Karma: 19426644
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
Quote:
Originally Posted by JSWolf View Post
A 1em paragraph space is too much. It distracts from reading as your eye doesn't move to the next paragraph but to the space instead. It can get mistaken for a section break. But overall, a 1em space makes the book rather hard to read.

I've seen some publishers use a .3em space between paragraphs. That's not going to throw the reader out of the book.
What you like and what the OP likes are INDIVIDUAL tastes. YOU do not get to dictate OP's tastes.

My post was an example. the number is up to the OP
theducks is online now   Reply With Quote
Old 03-14-2017, 05:16 AM   #5
Just some guy
Junior Member
Just some guy began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2017
Device: none
Quote:
Originally Posted by theducks View Post
margin-top: 1em; adds 1em of height (em is the current size of the line)
2em makes 2 lines of top space

you add this to the CSS for the style in the <p style="name_here">

if the p has no style
just assign to the "p' level

Code:
p {margin-top: 1em;}
Thank you very much!
Just some guy is offline   Reply With Quote
Advert
Old 03-14-2017, 07:22 AM   #6
Just some guy
Junior Member
Just some guy began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2017
Device: none
Quote:
Originally Posted by JSWolf View Post
A 1em paragraph space is too much. It distracts from reading as your eye doesn't move to the next paragraph but to the space instead. It can get mistaken for a section break. But overall, a 1em space makes the book rather hard to read.

I've seen some publishers use a .3em space between paragraphs. That's not going to throw the reader out of the book.
Thank you for the .3em suggestion!

I would never have figured this out without theducks , but .3em is exactly the amount of space I was looking for.
Just some guy is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there an easy way to increase the letter-spacing in a font? doubleshuffle Workshop 6 07-12-2016 03:40 PM
blank lines between paragraphs franklekens Kobo Reader 71 01-26-2015 12:52 PM
Spacing between paragraphs not converting beccas716 Conversion 4 10-11-2013 10:25 AM
Should there be any empty lines or paragraphs fructal Sigil 3 07-13-2012 04:07 AM


All times are GMT -4. The time now is 11:44 AM.


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