View Single Post
Old 03-01-2010, 02:41 AM   #23
colinsky
Addict
colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.colinsky ought to be getting tired of karma fortunes by now.
 
colinsky's Avatar
 
Posts: 240
Karma: 3500000
Join Date: Sep 2009
Device: Sony PRS-300, PRS-T1, PRS-T3
nerys, try the following:

take the text file you are working on
paste this at the top:

Quote:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html><head>
<style type="text/css">
pre {white-space: pre-wrap;}
</style>
</head>
<html>
<pre>
paste this at the bottom

Quote:
</pre></html>
save the file as "filename.html"
and then import the file into calibre and try to convert it.

That should preserve your spacing with a modicom of line wrapping. If you still get lines run together, you may want to see the "Line Un-Wrapping Factor" value close to or even at 1.00.
colinsky is offline   Reply With Quote