finish ms2html(1) and improve it. Notes: Sat Jan 28 09:34:15 EST 2006 rsc I applied this, but I have every intention of removing both ms2html and man2html once htmlroff can deal with man pages. Sat Jan 28 09:34:50 EST 2006 rsc And troff2html too. Reference: /n/sources/patch/applied/ms2html-man Date: Sat Jan 28 12:33:35 CET 2006 Reviewed-by: rsc --- /sys/man/1/ms2html Sat Jan 28 12:33:18 2006 +++ /sys/man/1/ms2html Sat Jan 28 12:33:16 2006 @@ -2,9 +2,21 @@ .SH NAME ms2html, html2ms \- convert between troff's ms macros and html .SH SYNOPSIS -.B ms2html < input > output +.B ms2html +[ +.B -q +] [ +.B -b +.I basename +] [ +.B -d +.I delims +] [ +.B -t +.I title +] .br -.B html2ms < input > output +.B html2ms .SH DESCRIPTION .I Ms2html converts the @@ -28,10 +40,35 @@ macro, unknown to .IR ms (6), and take its value. +Options are: +.TF q +.IP q +suppresses warnings about malformed input; +.IP b +sets the HTML base name to +.IR basename ; +.IP d +sets the +.IR eqn (1) +delimiters to +.IR delim ; +.IP t +sets the HTML title to +.IR title . +.PD +.PP +.I Html2ms +reads HTML from standard input and converts it +to +.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 .PP Ms2html doesn't understand a number of troff