View Single Post
Old 06-07-2013, 03:45 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,079
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Kove View Post
Hi Everyone,

I found an ebook with .lit format.
My ebook reader cant read .lit, also there was a line break every 3-4 words.
So I opened the file in Calibre, and

* converted it to epub
* unpacked the archive
* changed 30 000 <p>'s and </p>'s to nothing
* replaced every <span></span> ( every one of each was empty ) with a single <br />
* re-packed it
*put in my ebook reader ( pocketbook touch )

The origianal epub ( unmodified ) loaded fast as always.
The modified versions take MINUTES to load.

Why?
(filesize il almost the same )

Regards,
Kove
because you got carried away with the removal and made 1 giant paragraph.
If you do a conversion and adjust the 'line unwrap factor down a TINY bit ( about .45)

Or use Sigil and use the S&R 'join Paragraphs' saved search
theducks is offline   Reply With Quote