5.0530 WP Macros (5/109)

Elaine Brennan & Allen Renear (EDITORS@BROWNVM.BITNET)
Mon, 16 Dec 1991 21:33:24 EST

Humanist Discussion Group, Vol. 5, No. 0530. Monday, 16 Dec 1991.

(1) Date: Thu, 12 Dec 91 19:50:52 CST (33 lines)
From: (Gerhard Obenaus) <gobenaus@ux1.cso.uiuc.edu>
Subject: RE:5.0526 Query: Word Perfect Macro (1/9)

(2) Date: Fri, 13 Dec 91 11:03 EDT (12 lines)
From: <BRIGGSK@CITADEL>
Subject: wp macro

(3) Date: Fri, 13 Dec 91 11:27:35 -0500 (15 lines)
From: Jim Campbell <jmc@poe.acc.Virginia.EDU>
Subject: Re: 5.0526 Query: Word Perfect Macro (1/9)

(4) Date: Fri, 13 Dec 91 09:06:45 MST (29 lines)
From: Peter Lafford <IDPAL@ASUACAD>
Subject: Re: 5.0526 Query: Word Perfect Macro (1/9)

(5) Date: Fri, 13 Dec 91 08:53:05 MST (20 lines)
From: Skip Knox <DUSKNOX@IDBSU>
Subject: Re: 5.0526 Query: Word Perfect Macro (1/9)

(1) --------------------------------------------------------------------
Date: Thu, 12 Dec 91 19:50:52 CST
From: (Gerhard Obenaus) <gobenaus@ux1.cso.uiuc.edu>
Subject: RE:5.0526 Query: Word Perfect Macro (1/9)

In Message Thu, 12 Dec 1991 19:10:02 EST,
Elaine Brennan & Allen Renear <EDITORS@brownvm.bro writes:

>Humanist Discussion Group, Vol. 5, No. 0526. Thursday, 12 Dec 1991.
>
>Date: Thu, 12 Dec 1991 13:41:22 EST
>From: hmcook@boe00.minc.umd.edu (Hardy M. Cook)
>Subject: WP Macro

I'm not sure exactly what your document looks like and why you want to
strip the HRT, but the basic step is to press Alt-F2 say N when asked
whether you want to be prompted whenever the program finds a HRT, then
hit the ENTER key and press F2 again. This will strip all carriage
returns. You may want to insert a space so that two lines previously
separates by a HRT are no separated by a space. To record it as a
macro, just type Ctrl-F10 and assign the macro to an ALT-anykey combination
or give it a name. If you need more help, tell me exactly what the macro
is supposed to do and I'll make one up for you and send it to you directly.

Regards,

Gerhard Obenaus
Department of Germanic Languages & Literatures
University of Illinois
707 S. Mathews e-mail: g-obenaus@uiuc.edu
Urbana, IL 61801 phone: (217)333-1288

**************************************************************************

(2) --------------------------------------------------------------14----
Date: Fri, 13 Dec 91 11:03 EDT
From: <BRIGGSK@CITADEL>
Subject: wp macro


If all you want to do is delete the hard returns, you can use the replace
function to do that without a macro. (You might still want a macro to save
you the steps, but you can do a "do as I do" macro without having to do
a lot of programming.)

Kasey Briggs
The Citadel
(3) --------------------------------------------------------------26----
Date: Fri, 13 Dec 91 11:27:35 -0500
From: Jim Campbell <jmc@poe.acc.Virginia.EDU>
Subject: Re: 5.0526 Query: Word Perfect Macro (1/9)

There is an excellent shareware program called TEXTCON for converting ASCII
texts to WordPerfect. It analyzes line lengths and strips hard returns
selectively and also inserts a tab if a paragraph begins with multiple
spaces.
I believe it also works with some other word processors.

The address on my two or three year old copy is
Cross Court Systems
1521 Greenview Avenue
East Lansing, MI 48823 Tel: 517-332-4353
The requested registration fee was $15.

(4) --------------------------------------------------------------35----
Date: Fri, 13 Dec 91 09:06:45 MST
From: Peter Lafford <IDPAL@ASUACAD>
Subject: Re: 5.0526 Query: Word Perfect Macro (1/9)

If Hardy Cook's goal in stripping out carriage returns in WordPerfect is
to allow word wrap to reformat lines automatically, he might first try
retrieving the document as a text file using the Ctrl-F5 Text-in/Text-out
key, 1) dos Text, 3) rEtrieve changing Hard Return to Soft Return in the
hyphenation zone. That third option will usually take most of the carriage
returns out sucessfully.

If that is not the goal, or it does not work well due to other formatting
or margin problems, simpler than a macro is to use the ALT-F2 Search and
Replace. First of all, be sure to work with a COPY of the document, in
case something goes wrong. Second, move the cursor to the top of the
document, press ALT-F2, N (No confirmation for each replacement),
ENTER to get the HRt code on the screen for search text, F2 to be prompted
for the text to change it to, then SPACE to specify that you want the
HRt replaced with a SPACE, so the words won't run together, then F2
again to send it off changing ALL HRt to SPACE. As I said before, since
the computer often does what you tell it to do rather than what you want
it to do, be sure the new one is good before erasing the old one.

Hope this helps.

Peter Lafford Tel.(602) 965-2679
Manager, Humanities Computing Facility Lang. & Lit. Bldg.
Arizona State University (DEN-0302) Room LL-B 325
Tempe, AZ 85287-0302 IDPAL@ASUVM.INRE.ASU.EDU

(5) --------------------------------------------------------------26----
Date: Fri, 13 Dec 91 08:53:05 MST
From: Skip Knox <DUSKNOX@IDBSU>
Subject: Re: 5.0526 Query: Word Perfect Macro (1/9)

Hardy Cook is looking for a macro to strip carriage returns, but such
is not needed. WP will do the job automatically.

Retrieve your ASCII document using [Ctrl-F5] {Text In/Out}. Choose
the option that converts [HRt] to [SRt] in the hyphenation zone. If
you still have your hard returns, clear the document, narrow your
right margin, and try it again.

If you have lots of such conversions to make, there is an excellent
shareware program from Chris Wolf (I think) called TextCon that not
only strips out hard returns but can preserve indented text, strip
out headers and footers and do a variety of other useful chores.

Ellis 'Skip' Knox
Historian, Data Center Associate
Boise State University dusknox@idbsu.idbsu.edu