Discussion:
AbiWord as Word->Text
Thorsten Henninger
2002-04-17 16:52:04 UTC
Permalink
Hi,

abiword --to txt word.doc

does work, but it takes a long time:

time abiword --to txt freddy_sozialisation.doc

real 0m1.075s
user 0m0.840s
sys 0m0.050s

for a two page document - i would like to convert
a lot of documents :)


Is there a possibilty to tune abiword?

regards,

henni



-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-***@abisource.com with the word
unsubscribe in the message body.
Dom Lachowicz
2002-04-17 16:54:10 UTC
Permalink
Post by Thorsten Henninger
Hi,
abiword --to txt word.doc
time abiword --to txt freddy_sozialisation.doc
real 0m1.075s
user 0m0.840s
sys 0m0.050s
for a two page document - i would like to convert
a lot of documents :)
No, do not tune abiword here. Instead. check out wv. It is trivial to
turn a Word doc into text using the wvText program or a small C/C++
program based on libwv.a that you can write yourself - or if you contact
me, I can write it for you for a fee.

Dom

-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-***@abisource.com with the word
unsubscribe in the message body.
Martin Sevior
2002-04-18 00:25:43 UTC
Permalink
Post by Dom Lachowicz
Post by Thorsten Henninger
Hi,
abiword --to txt word.doc
time abiword --to txt freddy_sozialisation.doc
real 0m1.075s
user 0m0.840s
sys 0m0.050s
for a two page document - i would like to convert
a lot of documents :)
No, do not tune abiword here. Instead. check out wv. It is trivial to
turn a Word doc into text using the wvText program or a small C/C++
program based on libwv.a that you can write yourself - or if you contact
me, I can write it for you for a fee.
Another possibility is to use the new AbiCommand plugin (on unix only).

Do:

abiword --plugin AbiCommand

A command line prompt appears as...
abicommand:

Then type in in....
load myword.doc
save myword.txt
load myword2.doc
save myword2.txt

etc....

If you don't feel like typing it all in, edit a text file with a
whole lot of loads and saves, call it convert.txt, then simply do:

abiword --plugin AbiCommand < convert.txt

Bingo done!

Many other editting operations besdies loads and saves can be done this
way too.

Of course you'll need the new AbiCommand plugin and you'll need to run on
unix. The AbiCOmmand plugin will be available for 1.0 which should be out
Real Soon Now.

Cheers!

Martin


-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-***@abisource.com with the word
unsubscribe in the message body.
Peter S
2002-04-19 04:28:33 UTC
Permalink
Hmmm. Though wouldn't it be nice to have a batch conversion menu
option built in? Especially for win users... Say:
Word/rtf to txt
Word/rtf to html
html to rtf
html to txt
txt to html
Wouldnt that be sweet? I do a heap of rtf document conversions using
Logictran RTF Converter which works good, but costs.

Peter
Post by Thorsten Henninger
Hi,
abiword --to txt word.doc
time abiword --to txt freddy_sozialisation.doc
real 0m1.075s
user 0m0.840s
sys 0m0.050s
for a two page document - i would like to convert
a lot of documents :)
Is there a possibilty to tune abiword?
regards,
henni
-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-***@abisource.com with the word
unsubscribe in the message body.
Martin Sevior
2002-04-19 05:05:35 UTC
Permalink
Post by Peter S
Hmmm. Though wouldn't it be nice to have a batch conversion menu
Word/rtf to txt
Word/rtf to html
html to rtf
html to txt
txt to html
Wouldnt that be sweet? I do a heap of rtf document conversions using
Logictran RTF Converter which works good, but costs.
Put a linux partition on your win box and do all this plus lots more via
abicommand :-)

Costs you nothing but the time to learn something new. Actually Linux
installs are really painless easy than install windows and a lot
quicker. Far less reboots required and now product registration stuff.

If you have to lots of routine document stuff writing command-line scripts
are definately the way to go.

Or convince a Win developer to produce a plugin to this. It's not hard at
all.

Cheers

Martin
Post by Peter S
Peter
Post by Thorsten Henninger
Hi,
abiword --to txt word.doc
time abiword --to txt freddy_sozialisation.doc
real 0m1.075s
user 0m0.840s
sys 0m0.050s
for a two page document - i would like to convert
a lot of documents :)
Is there a possibilty to tune abiword?
regards,
henni
-----------------------------------------------
To unsubscribe from this list, send a message to
unsubscribe in the message body.
-----------------------------------------------
To unsubscribe from this list, send a message to
abiword-user-***@abisource.com with the word
unsubscribe in the message body.
Dom Lachowicz
2002-04-19 13:31:31 UTC
Permalink
Post by Peter S
Hmmm. Though wouldn't it be nice to have a batch conversion menu
Word/rtf to txt
Word/rtf to html
html to rtf
html to txt
txt to html
Wouldnt that be sweet? I do a heap of rtf document conversions using
Logictran RTF Converter which works good, but costs.
create an abiword.bat or perl script that loops around doing something
similar to:

abiword -to whatever_format file.doc

or...

for file in @args
do
abiword -to $format $file
done

Trivial...

Dom

Loading...