[comp.sys.atari.st] Need help w/WWST

hendrick@fozzy.UUCP (Bill Hendricks) (01/15/90)

Regarding Word Writer ST (Timeworks, Version 2.0),
I need help with a minor problem:

Having loaded an ASCII text file into WWST,
how do I get "format" to work?  When I tried
this past weekend, the text would _not_ reformat.

Anybody know the answer to this one? HELP!

Thanks in advance.
Regards, Bill

matthews@umd5.umd.edu (Mike Matthews) (01/16/90)

In article <839@fozzy.UUCP> hendrick@fozzy.UUCP (Bill Hendricks) writes:
>Regarding Word Writer ST (Timeworks, Version 2.0),
>I need help with a minor problem:
>
>Having loaded an ASCII text file into WWST,
>how do I get "format" to work?  When I tried
>this past weekend, the text would _not_ reformat.
>
>Anybody know the answer to this one? HELP!
>
>Thanks in advance.
>Regards, Bill

The problem is there are hard returns everywhere, which tell WWST to stop for-
matting.  Hard spaces don't help either.

The trick I used, which worked reasonably well, was to do a replace of a space
for a space.  This would replace the internal representation so you'll have SOME
formatting capabilities.  It won't fix everything, but I doubt that is possible
anyway.

Hope this helps.

Mike

bane@mimsy.umd.edu (John R. Bane) (01/16/90)

The problem you're having is that when WWST imports an ASCII file, it
leaves all the spaces as good old ASCII space characters.  When you type
text into WWST normally, it puts a different character between words that
it calls a "variable space".  The format command will only break lines at
variable spaces.

The hack I use is to import the text, save it as a WWST formatted file, then
pop out to a shell and do the following translate:
% tr '\040' '\036' < oldfile.doc > newfile.doc

The resulting newfile.doc will format properly.
-- 
ARPAnet: bane@mimsy.umd.edu
UUCP:...umcp-cs!bane