TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
> >Sub MAIN
> >StartOfDocument
> > EditReplace .Find = "^p^p", .Replace = "%%%", .ReplaceAll
> > EditReplace .Find = "^p", .Replace = " ", .ReplaceAll
> > EditReplace .Find = "%%%", .Replace = "^p^p", .ReplaceAll
> >End Sub
>
> This almost works, but the last line should be:
>
> EditReplace .Find = "%%%", .Replace = "^p", .ReplaceAll
>
> You don't want to wind up with ^p^p at the end of each paragraph.
>
> Also, if the original has space at the ends of some lines - as such
> files often do - your program produces extra spaces between some
> pairs of words. ...RM
Which I would eliminate during a routine cleanup: I run a replace operation
towards the end of each project, replacing all instances of two spaces
together with one space. Run it repeatedly until there are no pairs of
spaces left. If I'm in a situation that calls for two spaces after
sentence-ending punctuation I follow that with another replace operation
that replaces each sentence-ending punctuation (.!?) followed by a space
with the sentence ending followed by two spaces.
I also search for doubled periods, and periods adjacent to commas. In the
microscopic fonts that are fashionable in help files these days, I sometimes
miss those.
---
Office:
mike -dot- huber -at- software -dot- rockwell -dot- com
Home:
nax -at- execpc -dot- com