From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "roodwriter@core.com" Newsgroups: gmane.emacs.help Subject: Re: How to convert .doc to txt Date: Thu, 30 Oct 2003 13:28:31 -0500 Organization: Posted via Supernews, http://www.supernews.com Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: roodwriter@core.com NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: sea.gmane.org 1067538928 30649 80.91.224.253 (30 Oct 2003 18:35:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 30 Oct 2003 18:35:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Oct 30 19:35:22 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AFHdi-0008B9-00 for ; Thu, 30 Oct 2003 19:35:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AFHcU-00026N-G3 for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Oct 2003 13:34:06 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: KNode/0.7.1 Original-X-Complaints-To: abuse@supernews.com Original-Lines: 70 Original-Xref: shelby.stanford.edu gnu.emacs.help:117722 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13657 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13657 Don Saklad wrote: > In rmail in emacs, how do you convert .doc to txt ?... > > It converted to pdf > using the free thing at > http://preprints.cern.ch/Convert?emailGuide > but that new pdf wouldn't convert to ascii plain text. > > > Nor did that new pdf convert to ascii plain text using the free thing at > http://www.adobe.com/products/acrobat/access_onlinetools.html I should start this out with the caveat that for some reason I can't receive e-mail on Emacs. But for what it's worth. Emacs doesn't have a built-in function to do this, sadly. For converting .docs to text I use antiword. (I have a Linux box.) I save the .doc from my regular e-mail program, go into Dired, and use the ! command to use antiword. This translates the .doc into text in its own window. I then copy it and paste it into another buffer. I don't do this by hand anymore. I made a macro to do all this and bound a shortcut key sequence to it. Linux has several other ways to convert .docs to other things. Word2x (uncapitalized) converts Word 6 files to LaTeX or text. wvWare (that's how it's capitalized) converts to HTML. There are more. Be aware that none are perfect and there are some variations in the text output. These are the ones I thought worked best. Best thing to do is experiment. I do what I can do avoid Word files. Whenever someone sends me one I politely point out that not everyone has Word on their machine or will go out and buy it just to read a few lines of text. I also note that plain text, which is just a simple cutting and pasting job, can be read by everyone at no risk. Many people avoid attachments because that's where the viruses live. It can also be easier for the sender because with plain text they're not tempted to prettify what they're writing. If you need pretty there are PDFs and HTMLs. I've found that if you're nice and reasonable about it, most people will comply. They had just never thought about it. I've even had a few thank me. Only one has refused outright not to do it. Says she doesn't have the time. I can't make her understand it probably takes less time since she won't be wasting it on formatting. So about twice a month I get a .doc file from her. The others I get are from people sending me something for the first time or from people that just forget. The Free Software Foundation has a suggested text you can send back, but I think it's too strong. Worth reading for ideas, though. Hope this helps. --Rod -- Author of "Linux for Non-Geeks--Clear-eyed Answered for Practical Consumers" and "Boring Stories from Uncle Rod." Both are available at http://www.rodwriterpublishing.com/index.html To reply by e-mail, take the extra "o" out of the name.