1ANTIWORD(1) Linux User's Manual ANTIWORD(1)
2
3
4
6 antiword - show the text and images of MS Word documents
7
9 antiword [ options ] wordfiles
10
12 Antiword is an application that displays the text and the images of Mi‐
13 crosoft Word documents.
14 A wordfile named - stands for a Word document read from the standard
15 input.
16 Only the binary format documents made by MS Word version 2, 6, 7, 97,
17 2000 and 2003 are supported. Newer Word versions default to using a
18 completely different format consisting of XML files in a ZIP container
19 (usually with a ".docx" file extension) which antiword doesn't support.
20 It also doesn't support the "flat" XML format which MS Word 2003 sup‐
21 ported.
22
24 -a papersize
25 Output in Adobe PDF form. Printable on paper of the specified
26 size: 10x14, a3, a4, a5, b4, b5, executive, folio, legal, let‐
27 ter, note, quarto, statement or tabloid.
28
29 -f Output in formatted text form. That means that bold text is
30 printed like *bold*, italics like /italics/ and underlined text
31 as _underlined_.
32
33 -h Give a help message.
34
35 -i image level
36 The image level determines how images will be shown.
37
38 0: Use non-standard extensions from Ghostscript. This output may
39 not print on any PostScript printer, but is useful in case no
40 hard copy is needed. It is also useful when Ghostscript is
41 used as a filter to print a PostScript file to a non-Post‐
42 Script printer.
43
44 1: Show no images.
45
46 2: PostScript level 2 compatible. (default)
47
48 3: PostScript level 3 compatible. (EXPERIMENTAL, Portable Net‐
49 work Graphics (PNG) images are not printed correctly)
50
51 -m mapping file
52 This file is used to map Unicode characters to your local char‐
53 acter set. The default mapping file depends on the locale.
54
55 -p papersize
56 Output in PostScript form. Printable on paper of the specified
57 size: 10x14, a3, a4, a5, b4, b5, executive, folio, legal, let‐
58 ter, note, quarto, statement or tabloid.
59
60 -r Include text removed by the revisioning system.
61
62 -s Include text with the so-called "hidden text" attribute.
63
64 -t Output in text form. (default)
65
66 -w width
67 In text mode this is the line width in characters. A value of
68 zero puts an entire paragraph on a line, useful when the text is
69 to used as input for another wordprocessor. This value is
70 ignored in PostScript mode.
71
72 -x document type definition
73 Output in XML form. Currently the only document type definition
74 is db (for DocBook).
75
76 -L In PostScript mode: use landscape mode.
77
79 Mapping files like 8859-1.txt
80 Antiword looks for its mapping files in three directories, in
81 the order given:
82 (1) The directory specified by $ANTIWORDHOME
83 (2) The directory specified by $HOME/.antiword
84 (3) Directory /usr/share/antiword
85
86 The fontnames file
87 Antiword will look for its fontname file in the same directories
88 as used for the mapping files.
89 The fontnames file contains the translation table from font
90 names used by MS Word to font names used by PostScript.
91
92 NOTE:
93 Antiword cannot tell the difference between a file that does not
94 exist and a file that cannot be opened for reading.
95
97 Antiword uses the environment variable ``ANTIWORDHOME'' as the first
98 directory to look for its files. Antiword uses the environment variable
99 ``HOME'' to find the user's home directory. When in text mode it uses
100 the variable ``COLUMNS'' to set the width of the output (unless over‐
101 ridden by the -w option).
102
103 Antiword uses the environment variables ``LC_ALL'', ``LC_CTYPE'' and
104 ``LANG'' (in that order) to get the current locale and uses this infor‐
105 mation to select the default mapping file.
106
108 Antiword is far from complete. Many features are still missing. Many
109 images are not shown yet. Some of the images that are shown, are shown
110 in the wrong place. PostScript output is only available in ISO 8859-1
111 and ISO 8859-2.
112
114 The most recent released version of Antiword is always available from:
115 http://www.winfield.demon.nl/index.html
116
118 Adri van Os <antiword@winfield.demon.nl>
119
120 R.F. Smith <rsmith@xs4all.nl> and
121 Sindi Keesan <keesan@cyberspace.org>
122 contributed to this manual page.
123
125 Antiword is free software; you can redistribute it and/or modify it
126 under the terms of the GNU General Public License as published by the
127 Free Software Foundation; either version 2 of the License, or (at your
128 option) any later version.
129
130 This program is distributed in the hope that it will be useful but
131 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
132 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
133 Public License for more details.
134
135 You should have received a copy of the GNU General Public License along
136 with this program; if not, write to the Free Software Foundation, Inc.,
137 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
138
140 Linux is a registered trademark of Linus Torvalds.
141 Adobe, PDF and PostScript are trademarks of Adobe Systems Incorporated.
142 Microsoft is a registered trademark and Windows is a trademark of Mi‐
143 crosoft Corporation.
144
145
146
147Antiword 0.37 Oct 29, 2005 ANTIWORD(1)