78 lines · 1.2 KB · Text
RawDownload
.TH MS2HTML 1.SH NAMEms2html, html2ms \- convert between troff's ms macros and html.SH SYNOPSIS.B ms2html[.B -q] [.B -b.I basename] [.B -d.I delims] [.B -t.I title].br.B html2ms.SH DESCRIPTION.I Ms2htmlconverts the.IR ms (6)source on standard input into HTML and prints it tostandard output.If the source contains.IR tbl (1)or.IR eqninput, you must first pipe the text through thosepreprocessors.Postscript images, equations, and tables will beconverted to gif files.If the document has a.B .TLentry, its contents will be used as the title; otherwise.I ms2htmlwill look for a.B ._Tmacro, unknown to.IR ms (6),and take its value.Options are:.TF q.IP qsuppresses warnings about malformed input;.IP bsets the HTML base name to.IR basename ;.IP dsets the.IR eqn (1)delimiters to.IR delim ;.IP tsets the HTML title to.IR title ..PD.PP.I Html2msreads HTML from standard input and converts itto.IR ms (6)source on standard output..SH SOURCE.B /sys/src/cmd/ms2html.c.br.B /sys/src/cmd/html2ms.c.SH SEE ALSO.IR htmlroff (1),.IR ms (6).SH BUGS.PPMs2html doesn't understand a number of troffcommands.  It does handle macros and definedstrings..PPHtml2ms doesn't understand html tables.