| 
			
			 | 
		#1 | 
| 
			
			
			
			 Book Diva 
			
			![]() Posts: 76 
				Karma: 44 
				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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 creator of calibre 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,609 
				Karma: 28549044 
				Join Date: Oct 2006 
				Location: Mumbai, India 
				
				
				Device: Various 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Why not convert the lit file directly to EPUB?
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Book Diva 
			
			![]() Posts: 76 
				Karma: 44 
				Join Date: Jul 2009 
				
				
				
				Device: Nook Color 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			I did in the first batch. Didn't work. Just a big paragraph.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | ||
| 
			
			
			
			 US Navy, Retired 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 9,897 
				Karma: 13806776 
				Join Date: Feb 2009 
				Location: North Carolina 
				
				
				Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Quote: 
	
 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. Good Luck &  | 
||
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Book Diva 
			
			![]() Posts: 76 
				Karma: 44 
				Join Date: Jul 2009 
				
				
				
				Device: Nook Color 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thank you!  I will give that a try.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| Advert | |
| 
         | 
    
| 
			
			 | 
		#6 | 
| 
			
			
			
			 Banned 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 640 
				Karma: 4911 
				Join Date: Jul 2007 
				Location: Grapevine, TX 
				
				
				Device: iPad4 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			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.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478 
				Karma: 5171130 
				Join Date: Jan 2006 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			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.)  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Wizard 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,337 
				Karma: 123457 
				Join Date: Apr 2009 
				Location: Malaysia 
				
				
				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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,478 
				Karma: 5171130 
				Join Date: Jan 2006 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Either that, a latest version of Calibre, or both, seemed to do the trick.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | 
| 
			
			
			
			 Enthusiast 
			
			![]() ![]() ![]() Posts: 31 
				Karma: 289 
				Join Date: Dec 2008 
				Location: Ontario Canada 
				
				
				Device: PRS700 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			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!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
            
  | 
    
			 
			Similar Threads
		 | 
	||||
| 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 |