Re: How to convert plain ASCII text file to RTF?

From: Greg Shenaut (gkshenaut_at_ucdavis.edu)
Date: 12/30/04


Date: Thu, 30 Dec 2004 04:25:38 +0000 (UTC)

tinyurl.com/uh3t <rem642b@yahoo.com> exponit:
> I have a file in plain text format, and I need to e-mail it to somebody
> who accepts only MS-Word and RTF.

If this is for a person who is using Microsoft Word, then just
put a .txt suffix on the file and send it as an attachment. Word
will import it without complaint.

It will help if the only newlines in the file are between paragraphs,
because Word will treat each line as a paragraph otherwise. If the
file is very long it's kind of a pain to do that. I wrote a small
program to do the filtering when I absolutely must send text files
to Word users.

Another fairly easy possibility is to put in html markup and a .html suffix:
Word should also import that without problems, plus you can do some
formatting & not worry about newlines.

And, as others have suggested, you can insert rtf markup using a text editor;
the best info on this is undoubtedly a book called "RTF Pocket Guide" by
Sean M. Burke from O'Reilly.

Greg Shenaut



Relevant Pages

  • Re: Dangerous trend by some here to turn OS X into Vista
    ... I guess that means you _don't_ know that rtf stands for rich ... TextEdit saves text files by default. ... no Rich Text Formating for example. ... It is Rich Text Format, ...
    (comp.sys.mac.system)
  • Re: Word Mobile problems
    ... the device, or run the installer on the PC without connecting the PDA, ... RTF format; do you then get full conversion?" ... There are no formatting features available in Word Mobile that can't ...
    (microsoft.public.pocketpc)
  • Re: 2008 Convertor for 2004
    ... The OOXML Converter is an external application. ... RTF = Rich Text Format, it's an interchange format designed by Microsoft to ... enable other applications to exchange "rich" files (i.e. ...
    (microsoft.public.mac.office.word)
  • Re: Help!
    ... Finally, open Word again, open the RTF file you saved and choose SaveAs and select DOC format again. ... Unrecoverable disc error on file The disc you are working on has a media problem that prevents word from using it. ...
    (microsoft.public.word.application.errors)
  • Re: RTF2 Runtime Confusion
    ... Off the top of my head your RTF header is wrong. ... >> 3) If you bind the Control to the table containing the RTF data you ... >>> text on my report in a special text situation. ... >>> into the report in the On Format event for the detail section. ...
    (microsoft.public.access.forms)