07-26-2011, 07:39 AM | #1 |
Member
Posts: 12
Karma: 10
Join Date: Mar 2011
Device: laputa on android
|
expression to remove double spacing between paragraphs
The subject says it all really. Does anyone know what the expression is for removing double spacing between paragraphs?
Many thanks. |
07-26-2011, 10:37 AM | #2 |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Are you asking about converting? About regular expressions? About CSS? Where do you see the double spacing? Are there really "double" spaces there (use Inspect in Calibre's viewer or edit whatever format you are looking at) or is it a formatting issue where there's more space than you want after a single paragraph ends?
|
Advert | |
|
07-26-2011, 11:30 AM | #3 |
Member
Posts: 12
Karma: 10
Join Date: Mar 2011
Device: laputa on android
|
Yes it was regular expressions i was referring to when converting. Sorry - that wasnt clear.
However I dont know enough about code to tell from the inspect tool what it is you wanted to know. However I managed to fix my problem my converting to TXT, opening in word, doing a find and replace on multiple paragraph marks. Re-converted back to epub and now it looks fine. I'm sure there's a much quicker way but for now my problem has been fixed. |
07-26-2011, 12:09 PM | #4 | |
Connoisseur
Posts: 86
Karma: 999999
Join Date: Dec 2010
Device: some.
|
Quote:
You might want to check out sigil and learn some basic html/css if you are going to be fixing alot of books. |
|
07-26-2011, 02:38 PM | #5 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Also, a conversion to TXT will usually put a second paragraph mark after each paragraph break even if the first didn't have one. (In text format, that's how paragraphs are marked.) You probably created the double paragraph marks when you created the text format. Even worse, the conversion from TXT to EPUB will usually strip out double breaks automatically, so you didn't need to edit them out first. Most likely, it was just a formatting issue in your original document and by going through the text format, it was stripped out, so it worked in the end. All you probably had to do was just fix the original formatting issue. Last edited by Starson17; 07-26-2011 at 02:40 PM. |
|
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
problem with spacing between paragraphs in ADE | iain robinson | ePub | 12 | 06-23-2011 02:51 AM |
Removing spacing between paragraphs, not between sections | jlbfoot | Calibre | 4 | 12-03-2010 10:41 PM |
removing spacing between paragraphs WITHOUT touching indent? | ferossan | Calibre | 2 | 12-24-2009 02:12 PM |
Remove spacing between paragraphs - what about div tags ? | NASCARaddicted | Calibre | 5 | 11-07-2009 05:47 AM |
Remove spacing between paragraphs doesn't. | Djehuty | Calibre | 6 | 04-28-2009 04:53 AM |