|01-13-2010, 05:18 PM||#1|
Join Date: Jul 2009
Device: Nook Color
losing line spacing when converting with Calibre
When I first got my reader I downloaded Calibre and batch-converted my library, which consisted mostly of .txt, .lit, and a few word files, to epub. The conversion went smoothly, but when I opened my files I discovered one solid block of text, without any breaks for paragraphs. each book is one massive paragraph. By then it was 2am and I had discovered my device read .txt files just fine, so I shelved the whole thing and forgot about it for awhile.
Now I've got some new .lit files I want to convert. I converted first to pdf, and got a few pages of correctly formatted text, then blank pages. I flipped through about fifteen blank pages and never found the rest of the text. So I re-converted my .lit files to .txt, and and chose the option "insert line breaks" on one of the menus, hoping to fix the problem. Still no good, I have a book-long paragraph.
Am I missing something? I'm not really tech-savvy, I just want a convenient way to read books.
|01-15-2010, 05:41 AM||#4|
US Navy, Retired
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
I often convert lit files to epub and on very rare occasions I end up with a block of text as the output. When I get that as an output I usually trash that file. Most of the time lit files convert to epub beautifully. Lit files are my favorite input file to get an excellent epub. Of course I view the lit file prior to conversion and view the epub after. After all a poorly formatted lit file will still look poor after being converted.
In version 0.6.26 one of the features added I thought corrected your problem.
As a last resort see if your lit files convert to prc or lrf. If either format is successful then convert that format to epub.
|01-20-2010, 01:17 PM||#6|
Join Date: Jul 2007
Location: Grapevine, TX
I would convert it to an editable file and fix it in your word processor. I usually have to do this with text files. Most text files I get have a paragraph mark at the end of each line, not just at the end of a paragraph. So, I replace each set of double paragraph marks to an em dash, then replace each remaining para mark to a space, and finally replace all the em dashes with double para marks.
|01-19-2011, 08:16 PM||#7|
Join Date: Jan 2006
I have this same problem too. When I view the lit file in MS Reader, it looks fine, but conversion makes it one big paragraph. I tried the "treat each line as a paragraph" option, but the result was a non-text-wrapped file that crashed ADE.
Converting to mobi didn't result in a workable epub file, and converting to lrf created an lrf that calibre wouldn't convert at all. (I do have an older version of calibre, so I may have to update it before continuing.)
|01-19-2011, 08:20 PM||#8|
Join Date: Apr 2009
Device: PRS-650, iPhone
Enable the preprocess option under Structure Detection - there is workaround code in there for this issue.
There is also a fix for this problem that just got checked in, the next release will convert these types of lit files correctly without any special settings.
|01-23-2011, 04:47 PM||#10|
Join Date: Dec 2008
Location: Ontario Canada
I get a goofier result once in a while - it's more like a few lines and then a half sentence followed by a few blank lines, and then a half sentence again... repeat....usually in about 3 or 4 line chunks. Believe me i have to REALLLY want to read that book to continue with it LOL but i have!
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Line spacing||Ivo||Kobo Reader||3||06-30-2010 01:54 PM|
|Reducing line spacing||rjcroy||Kobo Reader||3||06-11-2010 10:23 PM|
|Change line spacing||zartemis||Amazon Kindle||1||02-26-2009 04:08 PM|
|Line spacing in Calibre?||leebok21||Calibre||7||08-10-2008 06:31 PM|
|Calibre PDF to LRF losing line breaks||kad032000||Calibre||11||06-23-2008 11:22 AM|