NAME     
rtf2troff – convert Rich Text Format documents to troff

SYNTAX     
rtf2troff [ –e ] [ –h|+h ] [ –man|–me|–mm|–ms ] [ –s|+s ] [ –t troff ] [ –u|+u ] [ file ]

DESCRIPTION     
rtf2troff converts documents written in Rich Text Format (RTF) to troff format.

Optional flags may be given to modify the operation of rtf2troff, as follows:

–e
.nr )E 0
Turn on token echoing. This causes each token read from the input file to be echoed to the output. Not normally useful except for debugging.

–h
.nr )E 0
Turn off header/footer output. This is the default, since most of the time you’ll probably run the output through troff using a macro package that supplies its own header and footer macros.

+h
.nr )E 0
Turn on header/footer output. rtf2troff attempts to write header and footer traps.

–mxx
.nr )E 0
Specify macro package, one of –man, –me, –mm, or –ms. This usually has little effect, although there are some minor tweaks made to the output that can be macro-package-specific.

–s
.nr )E 0
Disallow strikethrough output. rtf2troff simulates strikethrough output by generating troff output that prints the struck-through character, backs up, and prints a line through the character. This works reasonably well, but the troff output is hideous and difficult to edit.

+s
.nr )E 0
Allow strikethrough output. This is the default.

–t troff
.nr )E 0
Specify version of troff for which output should be written. The default is groff. Other reasonable versions, if you have them, are dwbtroff and pstroff.

–u
.nr )E 0
Disallow underlined output. rtf2troff simulates underlining by generating troff output that prints the underlined character, backs up, and prints an underscore. This works reasonably well, but the troff output is hideous and difficult to edit.

+u
.nr )E 0
Allow underlined output. This is the default.

SEE ALSO     
troff2rtf(1)

WHO-TO-BLAME     
Paul DuBois, dubois@primate.wisc.edu