From: Tim X <timx@spamto.devnul.com>
Subject: Re: How to convert .doc to plain text ascii in emacs.
Date: Sun, 02 May 2004 18:57:14 +1000 [thread overview]
Message-ID: <87d65n1a1h.fsf@tiger.rapttech.com.au> (raw)
In-Reply-To: y443c6oros9.fsf@nestle.csail.mit.edu
>>>>> "Don" == Don Saklad <dsaklad@nestle.csail.mit.edu> writes:
Don> What related emacs commands are there that might convert an
Don> rmail attachment from .doc to plain text ascii ?...
Don> It is an rmail message distributed from local government about
Don> an upcoming public hearing.
There are two solutions I've used for this. The first is a set of
utilities called wvWare - I think they are related to abiword. At any
rate, if your using Debian, just install wv.
The second product I've used is one called catdoc. Its not quite as
powerful, but works reasonably well.
If your using VM as your mail reader, its trivial to configure it to
run either the wv utility or catdoc on the attachment and have it
display in the buffer as text. With wv, I think you also have the
option to have it rendered as HTML as well.
As a last resort, you could use "strings" on the document to get the
content, but you will probably have a fair amount of crap mixed in
with it.
Note that the only time I've found the wv utilities have failed is
when I've recieved attachments witht e msword mime type, but which are
actually M$ bloody RTF format. I have'nt worked out a reliable way to
translate M$ RTF (which is not the rich text format we all knew a
decade ago!).
I would also contact the authority who send word documents and request
they use a less proprietry format - even PDF is better!
tim
--
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you
really need to send mail, you should be able to work it out!
next prev parent reply other threads:[~2004-05-02 8:57 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-28 17:32 How to convert .doc to plain text ascii in emacs Don Saklad
2004-04-28 18:13 ` Yoni Rabkin Katzenell
2004-05-01 19:02 ` Thomas Persson
2004-05-02 14:44 ` gebser
2004-05-02 19:04 ` Roodwriter
2004-05-02 19:26 ` Thomas Persson
2004-05-02 8:57 ` Tim X [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-04-28 18:02 Don Saklad
2004-04-28 18:10 ` Kin Cho
2004-04-28 18:17 ` Jay Belanger
2004-04-29 13:47 ` John Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d65n1a1h.fsf@tiger.rapttech.com.au \
--to=timx@spamto.devnul.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.