View Single Post
Old 11-26-2009, 04:16 AM   #3
Solitaire1
Samurai Lizard
Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.Solitaire1 ought to be getting tired of karma fortunes by now.
 
Solitaire1's Avatar
 
Posts: 14,261
Karma: 66698846
Join Date: Nov 2009
Device: NookColor
Quote:
Originally Posted by Kellhus View Post
Well, if you have MS Word you could use the "Find and Replace" Function. Just select a paragraph that you would like to change, then go to "Finad and Replace", in "Find:" type: "^p" and enter " " (space) in Replace. You would have to do it for each paragraph unfotunetely but there's no other way to do it. You could also make a small macro button and then just select a paragraph and change it with a button click.
To add to the above post, if you are using search and replace with MS Word and the original text file has a blank line between the paragraphs, you can do the following to remove the unnecessary hard returns from the original text file:

- Type ^p in the Find and ^t in Replace. This will replace all of the hard returns with tabs. The blank lines will be replaced with two tabs.

- Type ^t^t in Find and ^p in Replace. This will replace all of the double tabs (which is where the blank line was in the original text file) with a single hard return.

- Type ^t in Find and a blank space in Replace. This will remove all of the tab marks from the text.

When finished, you will have a text file with one hard return at the end of each paragraph. If you want a blank line between each paragraph, do a search and replace and type ^p in Find and ^p^p in Replace.

Another option is to convert the text file into an HTML file, although it takes a little bit of work. You can open up the text file in a text editor, and then do the following (disregard the quote marks):

- Type "<html><body><p>" at the beginning of the text and "</p></body></html>" at the end of the text.

- Type "</p><p>" at the beginning of each paragraph (you can just copy and paste it to save some typing).

- When finished save the text file with a new name with the extension ".htm" This will give you a basic webpage that you can view in any web browser. Even though the hard returns are still in the text file, they are disregarded in HTML files and will not display on screen.

From this point, it is fairly easy to convert the file into other formats. For example, I use StarOffice and it can easily convert an HTML document into several different formats, including turning it into a PDF file. Other word processors can also handle HTML files.

I hope that helps.
Solitaire1 is offline   Reply With Quote