ANTIWORD(1)

πŸ“¦
version 0.37 Β· 3 versions
, in debian bookworm, fedora 43, fedora 44, ubuntu jammy, ubuntu noble

✨ ANTIWORD(1) ✨ πŸ’– Linux User's Manual πŸ’–

πŸŽ€ NAME

Okay bestie, so antiword is the tool that lets you peek at the text and images inside MS Word docs. πŸ’… antiword ✨

🌸 SYNOPSIS

antiword [ options ] wordfiles

πŸ¦‹ DESCRIPTION

Okay so antiword is literally an app that shows you the text AND the images from Microsoft Word documents. πŸ”₯ It's giving main character energy. πŸ’–

If you pass a wordfile named -, antiword reads the Word document from standard input instead. 🧚 Lowkey so useful for piping stuff in!

Ngl, only the binary format docs are supported. That means MS Word versions 2, 6, 7, 97, 2000 and 2003. πŸ’œ Newer Word versions default to a totally different format: XML files stuffed in a ZIP container (usually with a .docx extension), and antiword does NOT support those. πŸ’€ It also doesn't support the "flat" XML format that MS Word 2003 had. Not me being like "wait, what?" 😭


πŸ‘‘ OPTIONS

  • -a papersize β€” Okay this one outputs in Adobe PDF form! πŸ“„ It's printable on paper in these sizes: 10x14, a3, a4, a5, b4, b5, executive, folio, legal, letter, note, quarto, statement or tabloid. πŸ¦‹
  • -f β€” Formatted text vibes! ✨ Bold text shows up as *bold*, italics as /italics/, and underlined text as _underlined_. Iconic. πŸ’…
  • -h β€” Need a little help? Gives you a help message. 🫢
  • -i image level β€” This decides how images get shown. 🌈
    • 0 β€” Uses non-standard extensions from Ghostscript. πŸ’€ This output might NOT print on any PostScript printer, but it's useful if you don't need a hard copy. It's also handy when Ghostscript is acting as a filter to print a PostScript file to a non-PostScript printer.
    • 1 β€” Shows no images. πŸ™ˆ
    • 2 β€” PostScript level 2 compatible. (default) πŸ‘‘
    • 3 β€” PostScript level 3 compatible. ⚠️ EXPERIMENTAL, and Portable Network Graphics (PNG) images are not printed correctly. 😭
  • -m mapping file β€” This file maps Unicode characters to your local character set. πŸ—ΊοΈ The default mapping file depends on your locale. 🌍
  • -p papersize β€” Same vibe as -a, but this one outputs in PostScript form. πŸ“œ Printable on paper in these sizes: 10x14, a3, a4, a5, b4, b5, executive, folio, legal, letter, note, quarto, statement or tabloid. πŸ’–
  • -r β€” Includes text that got removed by the revisioning system. πŸ“ The tea is served! β˜•
  • -s β€” Includes text with the so-called "hidden text" attribute. πŸ™ˆ Shhh 🀫
  • -t β€” Output in text form. (default) πŸŽ€
  • -w width β€” In text mode, this sets the line width in characters. πŸ“ A value of 0 puts an entire paragraph on one line, which is super useful if the text is going into another word processor. ✨ This value is ignored in PostScript mode. πŸ’…
  • -x document type definition β€” Outputs in XML form. 🧚 Right now the only document type definition is db (for DocBook). πŸ“š
  • -L β€” In PostScript mode, uses landscape mode. πŸŒ…

πŸ—‚οΈ FILES

  • Mapping files like 8859-1.txt β€” Antiword looks for these in three directories, in this order:
    1. The directory specified by $ANTIWORDHOME 🏠
    2. The directory specified by $HOME/.antiword 🏑
    3. Directory /usr/share/antiword 🌸
  • The fontnames file β€” Antiword checks the same directories as the mapping files for its fontname file. πŸ”€ It's the translation table from font names MS Word uses to font names PostScript uses. πŸ¦‹
NOTE: Antiword cannot tell the difference between a file that does not exist and a file that cannot be opened for reading. πŸ™ƒ Plot twist, no cap!

🌈 ENVIRONMENT

Antiword uses the environment variable ANTIWORDHOME as the first directory to look in for its files. 🏠 It uses HOME to find the user's home directory. 🏑 When in text mode, it uses the COLUMNS variable to set the output width (unless you override it with the -w option). πŸ“

Antiword also checks LC_ALL, LC_CTYPE and LANG (in that order) to get the current locale, and uses that to pick the default mapping file. 🌍 Iykyk! πŸ’œ


πŸ› BUGS

Okay bestie, antiword is far from complete. πŸ₯Ί Lots of features are still missing, and many images aren't shown yet. 😭 Some of the images that DO show up get placed in the wrong spot. πŸ™ˆ PostScript output is only available in ISO 8859-1 and ISO 8859-2. πŸ’€


🌐 WEB SITES

The most recent released version of Antiword is always over at: http://www.winfield.demon.nl/index.html πŸ¦‹


πŸ‘©β€πŸ’» AUTHOR

Adri van Os <antiword@winfield.demon.nl> πŸ‘‘

R.F. Smith <rsmith@xs4all.nl> and Sindi Keesan <keesan@cyberspace.org> helped out with this manual page. 🫢


πŸ“œ LICENSE

Antiword is free software! πŸŽ‰ You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. πŸ’–

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. Not even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 😭 See the GNU General Public License for more details. πŸ“–

You should have received a copy of the GNU General Public License along with this program. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 🌸


🫧 ACKNOWLEDGEMENTS

Linux is a registered trademark of Linus Torvalds. 🐧 Adobe, PDF and PostScript are trademarks of Adobe Systems Incorporated. πŸ¦‹ Microsoft is a registered trademark and Windows is a trademark of Microsoft Corporation. πŸ’œ


Antiword 0.37 dropped on Oct 29, 2005 πŸŽ€ and that's the tea, bestie! Slay forever. πŸ’…βœ¨