rtfx(1) BSD General Commands Manual rtfx(1)NAMErtfx — converts RTF to a generic XML format
SYNOPSISrtfx [-pw] [inrtf] [outxml]
rtfx-v
DESCRIPTIONrtfx converts RTF files into a generic XML format. It majors on keeping
meta data like style names, etc... rather than every bit of formatting.
This makes it handy for converting RTF documents into a custom XML format
(using XSL or an additional processing step).
The output format is documented on the rtfx website (below). There are
two slight variations of output format. The normal mode contains content
type data with formatting that has content relevance (such as bold or
underline). The presentation format adds some more formatting/presenta‐
tion tags (such as fonts or colors).
OPTIONS
The options are as follows:
-p Puts rtfx into 'presentation' output mode.
-v Displays rtfx version number and then quits.
-w Output XML is written with indents for easy reading.
inrtf The RTF file to convert. If not specified reads from stdin.
outxml The XML file to output the converted data to. If not speci‐
fied writes to stdout.
WEBSITE
http://memberwebs.com/swalter/software/rtfx/
AUTHOR
Stef Walter ⟨stef@memberwebs.com⟩
rtfx April 28, 2024 rtfx