Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 06-12-2011, 01:39 AM   #1
darkhatreader
Member
darkhatreader began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2011
Device: none
TXT to EPUB, problem with spacing

Hey everyone!

I'm trying to convert an ebook from TXT format to EPUB but i'm getting some weird spacing issues.

In some sections, the output text looks like this:

Code:
This a sample sentence of what the text looks

like.  This should be one

line.
Obviously, that should all be one line. The original TXT file has hard returns at the end of every line so I'm assuming that's the problem, but I don't have a clue how to fix it with Calibre. I've trying selecting different paragraph and formatting style, using heuristics... but nothing seems to be working.
darkhatreader is offline   Reply With Quote
Old 06-12-2011, 02:12 AM   #2
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
You probably need to decrease the line unwrap factor under heuristics to make it more aggressive.
ldolse is offline   Reply With Quote
 
Enthusiast
Old 06-12-2011, 02:28 AM   #3
darkhatreader
Member
darkhatreader began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jun 2011
Device: none
Quote:
Originally Posted by ldolse View Post
You probably need to decrease the line unwrap factor under heuristics to make it more aggressive.
Thanks for the tip! It's a lot better now, but even going as low as 0.01 there are still a few sentences per chapter that get cut off mid-sentence.
darkhatreader is offline   Reply With Quote
Old 06-12-2011, 02:35 AM   #4
ldolse
Wizard
ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.ldolse is an accomplished Snipe hunter.
 
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Garbage in Garbage out - there's only so much you can do. You can try converting it twice - txt to epub once, then epub to epub a second time, heuristics enabled both times.
ldolse is offline   Reply With Quote
Old 06-12-2011, 02:42 AM   #5
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,596
Karma: 25170848
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
.35 often works for me when.40 doesn't
speakingtohe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Paragraph spacing from HTML to ePUB lordvetinari2 Calibre 3 11-22-2010 10:02 AM
EPUB Line spacing Jabby Ectaco jetBook 0 08-30-2010 11:43 AM
ePub double spacing leebase Calibre 5 03-30-2010 03:42 PM
Sony ePub spacing Harryplopper ePub 10 02-23-2010 12:43 AM
Problem with epub to lrf with changing font size and line spacing kleinbiker Calibre 4 12-17-2009 08:55 AM


All times are GMT -4. The time now is 06:24 PM.


MobileRead.com is a privately owned, operated and funded community.