troff2rtf1
Convert troff documents to rich text format
Usage
troff2rtf [-mxx]
[-S
charset]
[file ...]
Overview
troff2rtf processes documents written to be formatted with troff (or nroff, or any of the other *roff variants) and converts them to Rich Text Format. RTF is a reasonably portable interchange standard; files in RTF format can be read by a variety of applications, e.g., Microsoft Word, WordPerfect (Macintosh version 2.0 and up), WriteNow.
The main use for troff2rtf is to make it easier to transport troff documents for use with microcomputers. First, convert your document to RTF:
% troff2rtf [options] file > file.rtf
The available options are described below. The one you'll most likely use is -mxx to specify a macro package like -me or -ms. If the document contains tables, the conversion can be done like this instead:
% tblcvt file | troff2rtf [options] > file.rtf
Then move the RTF file to your target machine and read it into your document processor.
Optional flags may be given to modify the operation of troff2rtf, as follows:
-
-mxx -
Specify macro package, usually
-man,-me,-mm, or-ms.
-
-S charset -
Specify the RTF character set. charset can be one of the following:
ansimacpcpca. The default is the Macintosh character set. For documents that you intend to use under Windows,-Sansiis a better choice.
Who-to-blame
Paul DuBois, [email protected] .
Releases
14 releases since Debian 2.0 (Hamm); the text changed 1 time.