05-31-2008, 08:30 PM | #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.
|
06-01-2008, 01:59 PM | #2 |
creator of calibre
Posts: 44,413
Karma: 23977332
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 | |
|
06-01-2008, 10:47 PM | #3 |
Wizard
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
|
06-01-2008, 10:54 PM | #4 |
creator of calibre
Posts: 44,413
Karma: 23977332
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.
|
06-01-2008, 10:58 PM | #5 |
creator of calibre
Posts: 44,413
Karma: 23977332
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 | |
|
06-01-2008, 11:10 PM | #6 |
Resident Curmudgeon
Posts: 76,063
Karma: 134368292
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
06-02-2008, 03:01 AM | #7 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
|
06-02-2008, 07:38 AM | #8 |
Wizard
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
|
06-02-2008, 07:39 AM | #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.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Lines became paragraphs after .lit to .mobi conversion | Piper_ | Calibre | 11 | 09-19-2010 05:11 PM |
Calibre Indent Issue When Removing Blank Lines (Converting From HTML to MOBI or EPUB) | David Derrico | Calibre | 5 | 08-04-2010 12:13 AM |
Blank lines between paragraphs? | ascherjim | OpenInkpot | 30 | 12-03-2009 12:19 AM |
Removing blank lines between paragraphs? | corroonb | Workshop | 3 | 08-13-2009 04:23 PM |
Insert Blank Lines Between Paragraphs | Timoleon | Calibre | 14 | 03-22-2009 02:43 PM |