summaryrefslogtreecommitdiff
path: root/static/plan9-4e/man1/ms2html.1
diff options
context:
space:
mode:
Diffstat (limited to 'static/plan9-4e/man1/ms2html.1')
-rw-r--r--static/plan9-4e/man1/ms2html.141
1 files changed, 41 insertions, 0 deletions
diff --git a/static/plan9-4e/man1/ms2html.1 b/static/plan9-4e/man1/ms2html.1
new file mode 100644
index 00000000..80326931
--- /dev/null
+++ b/static/plan9-4e/man1/ms2html.1
@@ -0,0 +1,41 @@
+.TH MS2HTML 1
+.SH NAME
+ms2html, html2ms \- convert between troff's ms macros and html
+.SH SYNOPSIS
+.B ms2html < input > output
+.br
+.B html2ms < input > output
+.SH DESCRIPTION
+.I Ms2html
+converts the
+.IR ms (6)
+source on standard input into HTML and prints it to
+standard output.
+If the source contains
+.IR tbl (1)
+or
+.IR eqn
+input, you must first pipe the text through those
+preprocessors.
+Postscript images, equations, and tables will be
+converted to gif files.
+If the document has a
+.B .TL
+entry, its contents will be used as the title; otherwise
+.I ms2html
+will look for a
+.B ._T
+macro, unknown to
+.IR ms (6),
+and take its value.
+.SH SOURCE
+.B /sys/src/cmd/ms2html.c
+.br
+.B /sys/src/cmd/html2ms.c
+.SH BUGS
+.PP
+Ms2html doesn't understand a number of troff
+commands. It does handle macros and defined
+strings.
+.PP
+Html2ms doesn't understand html tables.