Enrique wrote:
Lionel B Dyck wrote:

Thanks for this pointer - it is helpful but I still haven't found what I need.

What I have is a text file where there is a paragraph for every line. What I want to do is to eliminate these single paragraph tags from the file and leave all paragraph tags that are at the end of each paragraph and the blank line between paragraphs.

Hi Lionel,
For this kind on re-formatting, the AtoFormat/AutoCorrect way is the right thing to do. Think about it not as "removing all paragraph marks and restoring emty lines" as you would do in MS-Word. Think abou this task as: "I want to combine all those single line paragraphs that form a block into a real multinine paragraph with only one paragraph mark at the end".

This is the task done by the Tools>Autocorrect>Options: "combine single line paragraphs if longer than X%" It is the last option checkbox, I think.

Set the parameter to let say 80%. That means that if two adjacent lines are longer than 80% of the whole line lenght (distance from left to right margins), those lines are considered to belong to a single paragraph, just a hard return was introduced in a verious life. The hard return is removed and the two lines ara now a singel paragraph.

The parameter is user-controlled to avoid to combine short lines, like titles etc. into the paragraph body.

Remember, the options are controlled in Tools>autocorrect>options. But the re-formatting is executed by Format>autoformat>Apply

In this way you can merge together those sibgle lines in your text file into multiline paragraphs, while preserving the blank, empty, lines (remember to un-check this option).

Enrique

Thanks - I'll give this a try after work today

--
Lionel B. Dyck  <><
AIM ID: lbdyck
Homepage http://www.lbdsoftware.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to