summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile.am1
-rw-r--r--src/rtfx.120
2 files changed, 21 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index de10062..a8bcfbc 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -44,3 +44,4 @@ rtfm_SOURCES = rtfm.cpp basehandler.cpp basehandler.h levelhandler.cpp levelhand
rtfm_LDADD = -lsablot
rtfm_CFLAGS = -O0 -I${top_srcdir} -I/usr/local/include
rtfm_LDFLAGS = -L/usr/local/lib
+man_MANS = rtfm.1
diff --git a/src/rtfx.1 b/src/rtfx.1
new file mode 100644
index 0000000..ba62097
--- /dev/null
+++ b/src/rtfx.1
@@ -0,0 +1,20 @@
+.Dd March, 2004
+.Dt RTFM 1
+.Os RTFM 0.9
+.Sh NAME
+.Nm rtfm
+.Nd converts RTF to a generic XML format
+.Sh SYNOPSIS
+.Nm
+.Ar inrtf
+.Ar outxml
+.Sh DESCRIPTION
+.Nm
+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).
+There are no options. To get different output you should use another processing step. RTFM's goal is just to get stuff into a basic XML format.
+.Sh BUGS
+Doesn't handle crummy RTF files nicely
+.Sh SEE ALSO
+.Xr sablot 3
+.Sh AUTHOR
+.An Nate Nielsen Aq nielsen@memberwebs.com \ No newline at end of file