[Fanda] Fw: hromadna konverze doc do txt
Karel Břinda
brinda na tereza.fjfi.cvut.cz
Sobota Únor 9 22:37:11 CET 2008
Dobrý večer,
dole přikládám manuálovou stránku. Jinak v případě, že mu dáme jako jediný parametr jméno DOC souboru, vytiskne na obrazovku text toho dokumentu. Přes většítko to je klasicky možné přesměrovat do souboru.
S pozdravem
Karel Břinda
moderátor konference
karel na karkulka:~> man antiword | cat
Formátuji antiword(1), prosím počkejte chvíli...
ANTIWORD(1) Linux User´s Manual ANTIWORD(1)
NAME
antiword - show the text and images of MS Word documents
SYNOPSIS
antiword [ options ] wordfiles
DESCRIPTION
Antiword is an application that displays the text and the images of
Microsoft Word documents. Only documents made by MS Word version 6 or
later are supported.
OPTIONS
-h Give a help message.
-i image level
The image level decides how images will be shown.
0: Use non-standard extentions from Ghostscript. This output may
not print on any PostScript printer, but is useful in case no
hard-copy is needed. It is also useful when Gostscript is
used as a filter to print a PostScript file to a non-
PostScript printer.
1: Show no images.
2: PostScript level 2 compatible. (default)
3: PostScript level 3 compatible. (EXPERIMENTAL, Portable Net‐
work Graphics (PNG) images are not printed correctly)
-m mapping file
This file is used to map Unicode characters to your local char‐
acter set. The default is UTF-8.txt in locales that support
UTF-8 and 8859-1.txt in other locales.
-p papersize
Output in PostScript form. Printable on paper of the given size:
10x14, a3, a4, a5, b4, b5, executive, folio, legal, letter,
note, quarto, statement or tabloid.
-s Include text with the so called "hidden text" attribute.
-t Output in text form. (default)
-w width
In text mode this is the width of a line in characters. A value
of zero puts an entire paragraph on a line, useful when the text
is to used as input for an other wordprocessor. This value is
ignored in PostScript mode.
-L In PostScript mode: use landscape mode.
-X PostScript encoding
1: In Postscript mode: encode in the ISO-8859-1 character set.
(This option implies -m 8859-1.txt) (default)
2: In Postscript mode: encode in the ISO-8859-2 character set.
(This option implies -m 8859-2.txt) (EXPERIMENTAL and
UNTESTED)
FILES
$/opt/antiword/share/8859-1.txt, $HOME/.antiword/8859-1.txt and
friends:
Global and local mapping files (see -m option)
/opt/antiword/share/fontnames, $HOME/.antiword/fontnames:
Global and local versions of the fontnames file. This file con‐
tains the translation table from font names as used by MS Word
to fontnames used by PostScript.
NOTE:
A global file will be used when the local one is not available.
ENVIRONMENT
Antiword uses the environment variable ``HOME'' to find the home direc‐
tory of the user. When in text mode it uses the variable ``COLUMNS'' to
set the width of the output (unless overridden by the -w option).
BUGS
Antiword is far from complete. Many features are still missing. Many
images are not shown yet. Some of the images that are shown, are shown
in the wrong place.
WEB SITES
The most recent released version of Antiword is always available from:
http://www.winfield.demon.nl/index.html
or try
http://antiword.cjb.net/
AUTHOR
Adri van Os <antiword na winfield.demon.nl>
or try <comments na antiword.cjb.net>
R.F. Smith <rsmith na xs4all.nl> contibuted to 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; without even the implied warranty of MER‐
CHANTABILITY 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.
Postscript is a trademark of Adobe Systems Incorporated.
Microsoft is a registered trademark and Windows is a trademark of
Microsoft Corporation.
Antiword 0.32 Oct 04, 2001 ANTIWORD(1)
-----Původní zpráva-----
Od: fanda-bounces na tereza.fjfi.cvut.cz [mailto:fanda-bounces na tereza.fjfi.cvut.cz] za uživatele Miloš Šmíd
Odesláno: 9. února 2008 19:04
Komu: Fanda Konference
Předmět: Re: [Fanda] Fw: hromadna konverze doc do txt
Ahoj, Kájo,
ale nějak jsem nepochopil, jak se s tím zachází ...
stahl jsem, rozbalil, zkoušel vyvolat nějaký help antiword.exe /? nebo antiword.exe /help - nic.
Zkusil jsem spustit antiword.exe docs/testdoc.doc a zase nic.
Takže jak? Děkuji komukoli. Miloš
Další informace o konferenci Fanda