|
|
#1 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
How to eliminate blank lines between paragraphs with Calibre
I have a few mobi files that I want to convert over for my Sony. Does anyone know if it is possible to eliminate the blank lines between the paragraphs? I believe I may be able to use a command in the override css area, but I don't know what that would be. Thanks in advance.
|
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,620
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
depends on what the cause of the blank lines is. Try using mobi2oeb and look over the resulting HTML
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,620
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That's a tough one, Because of the way the html->LRF conversion works, calibre always ends the current paragraph when it sees a <div> tag irrespective of its height. Then the next <p> tag will start a new paragraph, which means there will end up being a blank line.
|
|
|
|
|
|
#5 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,620
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
the next version of the mobi converter will have some special code to take care of this.
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 80,846
Karma: 150249631
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
|
|
|
|
|
#7 |
|
eBook Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 85,560
Karma: 93980341
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
|
|
|
|
|
#8 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
|
|
|
|
|
|
#9 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
Yep, I got it cleaned up in BD. I completely forgot about mobi2oeb as a method to convert to html. Another method I tried couldn't handle the compression and that was when I posted.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Lines became paragraphs after .lit to .mobi conversion | Piper_ | Calibre | 11 | 09-19-2010 06:11 PM |
| Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) | David Derrico | Calibre | 5 | 08-04-2010 01:13 AM |
| Blank lines between paragraphs? | ascherjim | OpenInkpot | 30 | 12-03-2009 01:19 AM |
| Removing blank lines between paragraphs? | corroonb | Workshop | 3 | 08-13-2009 05:23 PM |
| Insert Blank Lines Between Paragraphs | Timoleon | Calibre | 14 | 03-22-2009 03:43 PM |