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 05-26-2012, 03:56 PM   #1
kabloooie
Junior Member
kabloooie began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2010
Device: iphone
Exclamation How to remove white space between paragraphs for iPad?

Epub files often have white space between each paragraph.

I always try the "remove spacing between paragraphs" option when I convert from epub to epub but it has never worked. The text always has the exact same wide space between every paragraph when I read them on my iPad.

There must be some way to do this but it seems impossible to do with Calibre.

Can anyone help me with this?

(I wrote about this problem over a year ago here but no one offered any solution other than using the Calibre option that never works.)
kabloooie is offline   Reply With Quote
Old 05-26-2012, 04:06 PM   #2
AnemicOak
Bookaholic
AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.AnemicOak ought to be getting tired of karma fortunes by now.
 
AnemicOak's Avatar
 
Posts: 10,017
Karma: 28119673
Join Date: Oct 2007
Location: Minnesota
Device: HDX 8.9, AuraHD, Nook HD+, Kindle 2,3,T , Opus, Nexus7, iPhone5, etc
Where are the ePubs from, is it a specific publisher or store?

The best way to remove the spacing is probably to change the .epub extension to .zip and then edit the style(s) that are causing the space. You can also explode the ePub in Calibre and get access to the files contents that way (right click on the book and select Tweak Book). The other way to edit things would be using Sigil.


If any of the files are public domain post or link to one so someone can take a look.

Last edited by AnemicOak; 05-26-2012 at 04:09 PM.
AnemicOak is offline   Reply With Quote
Old 05-26-2012, 06:27 PM   #3
dwig
Guru
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 951
Karma: 1351860
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Kindle 3/WiFi Retired:Clie - UX50, T415, ...
Quote:
Originally Posted by AnemicOak View Post
...The best way to remove the spacing is probably to change the .epub extension to .zip and then edit the style(s) that are causing the space. ...
... or by using Sigil to edit the ePub.

The problem my be in Styles (CSS or the <style> section in the <head> of each xHTML file) and may be some "empty paragraphs" placed between each paragraph. These often are in the form of <p>&nbsp;</p> but sometimes you'll encounter one that has each chapter in one big <p> and uses <br />'s to create the visible paragraph breaks. Calibre can't heal all of the many possibilities.
dwig is offline   Reply With Quote
Old 05-27-2012, 06:00 PM   #4
kabloooie
Junior Member
kabloooie began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2010
Device: iphone
I found the problem.

I've never tried Sigil before.
I opened the file, set to Code View and found that:

<p class="calibre1">&nbsp;</p>

Is between each paragraph.
So that's what is causing the spaces.

I globally deleted that line and hallelujah! it worked!

Thanks for the tip!

Is there a way for Calibre to globally delete this?
Sigil is great but it would be nice for Calibre to do it in one step.
kabloooie is offline   Reply With Quote
Old 05-28-2012, 05:11 AM   #5
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Under Heuristics, delete blank lines between paragraphs. If it's a style as the others described you can use the remove blank space between paragraphs under Look and Feel.
ldolse 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
Create a space between some paragraphs Elle518 ePub 17 04-12-2012 04:21 PM
space between paragraphs gatorman Sigil 3 01-07-2011 10:17 AM
Ragged right / space between paragraphs Oldpilot Sigil 5 11-11-2010 07:59 PM
Is there any way to remove space between paragraphs? kabloooie Calibre 6 11-03-2010 08:32 AM
remove space between paragraphs-yes the box is checked Blurr Calibre 1 12-23-2009 06:34 AM


All times are GMT -4. The time now is 09:04 PM.


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