Chen Shi-Ping wrote:

> Thank you for John's e-mail. I have tried antiword, catdoc, and word2x.
> These three tools can convert Word documents to text files, but antiword
> generates its own section numbers, catdoc produces garbage at the end of
> the file, and word2x would core dump if the Word document has "header".
>
> In my case, I have to do a lot of manual work to clean the section numbers
> or garbage after conversion if I run antiword or catdoc. I wish to have a
> script that would automatically turn off header, footer, and page in a
> *.doc document. Thanks.
>
> Shi-Ping Chen
>
> On Mon, 18 Dec 2000, Chen Shi-Ping wrote:
>
> >
> > I can't read Richellere's message. Please repeat the email in ASCII text
> > format. Thanks.
> >
> > I need to write a script to turn off "Header" and "page" in a *.doc file
> > without going to MS Word, WordPerfect, StarOffice, Applixware, and so on.
> > I hope to run this script on the command line of RedHat 6.2, but don't
> > know where to start. I would greatly appreciate if someone can provide me
> > some information in this direction. Thank you.
> >
> > Shi-Ping Chen
> >
>

I am not sure what is meant by "turning off" header and page in a *.doc file but
if I were to try to do this outside of word I would save it in both formats and
then diff the files to see what it is that your version of word does to disable
these features.  I would then try to write a script to modify the with headers
file to make it look like the one without.

My two cents.

Bret




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to