word2x1
Convert word 6 documents to another format
Usage
word2x [-Vhvq]
[-w
width]
[-f
format]
[-d
date-style]
files ...
Overview
word2x is a program that attempts to produce a component, if not perfect rendition of a word 6 document. It guesses rather a lot from context and can make mistakes. Pictures are not supported and will not appear. There is very limited maths support in LaTeX mode, mainly due to lack of samples of mathematics. (I probably should have done this using TeX catcode and macro magic, instead of writing special code).
Input files must be seekable and therefore stdin is not allowed. The files argument is of the form input file, output file, input file, output file etc. - may be used for stdout in the output file. If the output file is not sepcified a named is generated by adding on an appropiate suffix in place of .DOC (or .doc). Both .DOC and .doc are added automatically if the file name specified can not be found.
As a special exception to the above any file ending on .doc or .DOC is assumed to be an input file. This allows one to type word2x -f latex *.DOC, for example.
Options
-
-V, --version -
print version on stderr and exit.
-
-h, --help -
show synopsis, output and date formats supported.
-
-v, --verbose -
be (moderately) verbose
-
-q, --quiet -
supress non-error messages (this is the default).
-
-w, --width -
set the maximum width of a line in the output
-
-d, --dates -
set the date format. Currently the formats supported are uk, british, us. uk dates are 22nd April, 1997, for example and US style dates April 22nd, 1997. british is a synonym for uk. The default is uk.
-
-f, --format -
Set the output format. Currently text and latex are supported. The LaTeX output requires the AMS LaTeX package and LaTeX 2e. It should be reasonably easy to add another format, however some formats do a large amount of context guesswork, for example the LaTeX format (esp. in the paragraph handling code). text is the default.
Releases
4 releases since Debian 2.0 (Hamm); the text changed 1 time.