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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 10-23-2013, 08:47 AM   #1
ajm23
Junior Member
ajm23 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: Kindle Fire
Manual Paragraph Spacing

I have several ebooks that came with no paragraph spacing (i.e. no line breaks in between paragraphs and lines of dialogue). Checking the 'insert blank line between paragraphs" in the Look & Feel section doesn't help.

Does anyone handy with CSS know of a conditional command to enter a line break after quotes? I figure, at the very least, I can render the dialogue readable.

Thanks for any tips.
ajm23 is offline   Reply With Quote
Old 10-23-2013, 10:06 AM   #2
theducks
Grand Sorcerer
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: 14,630
Karma: 5628865
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by ajm23 View Post
I have several ebooks that came with no paragraph spacing (i.e. no line breaks in between paragraphs and lines of dialogue). Checking the 'insert blank line between paragraphs" in the Look & Feel section doesn't help.

Does anyone handy with CSS know of a conditional command to enter a line break after quotes? I figure, at the very least, I can render the dialogue readable.

Thanks for any tips.
No
As in 'No magic bullet'

You probably have one of those Single Paragraph books where every newline was done by using a <br />

You need to (carefully) edit the source ( Sigil below) CODE and replace most <br /> with a </p> <p class=...
theducks is offline   Reply With Quote
Old 10-23-2013, 10:01 PM   #3
ajm23
Junior Member
ajm23 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Oct 2013
Device: Kindle Fire
I hadn't tried Sigil before.

So it turns out there's not even <br> in there. Just one paragraph for every chapter.

Here's what I did: 1) Converted the file to Epub and exported form Calibre. 2) Opened with Sigil and went to the find & replace window in html view. 3) Replaced all {."} with {."</p><p>}. I applied this to all htmls. 4) I added the Epub back to Calibre, converted it to Mobi, and replaced the file on my kindle.

It's not perfect, but the result is much more readable.

Thanks for the inspiration.
ajm23 is offline   Reply With Quote
Old 10-23-2013, 10:06 PM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,838
Karma: 12535517
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by ajm23 View Post
Replaced all {."} with {."</p><p>}. I applied this to all htmls.
Don't forget all of the {!"} or {?"}
DoctorOhh is offline   Reply With Quote
Reply

Tags
css, dialogue, line spacing, look & feel, paragraph spacing

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paragraph Spacing changes from 'word' Johneltin General Discussions 3 07-16-2013 06:58 AM
Paragraph spacing Banks ePub 2 08-09-2012 05:24 PM
Preference: Paragraph indent or a little paragraph spacing? 1611mac General Discussions 48 11-11-2011 12:43 AM
Paragraph spacing jhempel24 Calibre 5 08-24-2010 12:14 AM


All times are GMT -4. The time now is 12:24 PM.


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