View Full Version : Immense gaps between paragraphs


astra
12-10-2010, 04:54 AM
Probably this question has been asked hundreds of times.

I have ePub with huge gaps between every paragraph. Can I edit the file to get rid of the gaps?

Thanks,
A.

DMSmillie
12-10-2010, 07:07 AM
You could try editing it using Sigil (there's a Sigil forum (http://www.mobileread.com/forums/forumdisplay.php?f=203) here in MobileRead where you can find links to download and install Sigil, and lots of info about using it). Make a copy of the EPUB file first, though, just in case it doesn't turn out the way you want it to!

If you know HTML and CSS, an alternative would be to change the file extension from .epub to .zip (again, make a copy of the EPUB file first!), then unzip the file and hand edit the (X)HTML content files and the CSS file(s). Note that when you zip the edited files up again, you need to ensure that the mimetype file is the first file in the zip archive, and uncompressed.

astra
12-10-2010, 07:37 AM
I see. Thanks!
Too complicated.
Will use it as it is.

Pablo
12-10-2010, 08:05 AM
There are two possibilities:
1 - Incredibly ugly formatting including hardcoded empty paragraphs or breaks inside the body of the text.
2 - Bad formatting of paragraphs in the CSS file.

If the problem is (2), then it can be easily fixed editing the CSS file with a text editor (requires unzipping and zipping) or with Sigil.

astra
12-10-2010, 08:06 AM
Can I unzip it and make LRF in BD?

Pablo
12-10-2010, 08:29 AM
Can I unzip it and make LRF in BD?

No, you should first convert it to something that BD can take as input. If you use Calibre, you can convert your ePub to RTF (or maybe HTML, I haven't checked) and then open with BD and then you know.... there's no limit to what you can do!!!

astra
12-10-2010, 08:39 AM
No, you should first convert it to something that BD can take as input. If you use Calibre, you can convert your ePub to RTF (or maybe HTML, I haven't checked) and then open with BD and then you know.... there's no limit to what you can do!!!

OK. Thanks a lot, please forget about it. I will finish reading the book before I finish editing it :)
Nevermind!
:thanks:

jharker
12-10-2010, 10:21 AM
If you post the book (or PM it to me) I could probably make the fix for you. I work with ePubs all the time, so it would be trivial for me. I know how annoying it can be to read a badly formatted book!