Quote:
Originally Posted by Raketemensch
I'm using .txt files of very hard to find or out of print books. Some can't be found even in hard copies, and none can be found as eBooks.
Most of them use 2 spaces to indent the first word of a new paragraph, without a blank line between them.
I can't seem to find a way to convert these indentations to paragraphs. Am I missing something?
thanks,
Rake
|
Although it doesn't involve Calibre, you should be able to convert the text file to HTML by taking the following steps (assuming there are no double spaces within the paragraphs):
- Insert the following at the beginning of the text file: <HTML><BODY><P>
- Insert the following at the end of the text file: </P></BODY></HTML>
- Search and replace each double space with the following: </P><P>
- Save the file as an HTML file, leaving the original text file untouched.
When you open the file in a web browser the paragraphs will be separated with a blank line between them and no indents. From there, you should be able to format it the way that you want.
I hope this helps.