git: 9front

Download patch

ref: 114f10337b032b3cf907247e66bc4794b1e7f1a9
parent: 6548b399a1d34b36c8d5fbfb8f6bad964d09b2b7
author: cinap_lenrek <cinap_lenrek@gmx.de>
date: Mon Sep 10 04:01:49 EDT 2012

update manual pages for lp HTML support

--- a/sys/man/1/lp
+++ b/sys/man/1/lp
@@ -67,7 +67,7 @@
 The given processor is invoked.
 The default processor is
 .LR generic ,
-which tries to do the right thing for regular text, 
+which tries to do the right thing for regular text, HTML,
 .IR troff (1)
 output, or 
 .IR tex (1)
--- a/sys/man/1/ms2html
+++ b/sys/man/1/ms2html
@@ -61,7 +61,10 @@
 reads HTML from standard input and converts it
 to
 .IR ms (6)
-source on standard output.
+source on standard output. The document
+is expected to be UTF encoded so a preprocessor like
+.IR uhtml (1)
+should be used to normalize the HTML.
 .SH SOURCE
 .B /sys/src/cmd/ms2html.c
 .br
@@ -68,7 +71,8 @@
 .B /sys/src/cmd/html2ms.c
 .SH SEE ALSO
 .IR htmlroff (1),
-.IR ms (6)
+.IR ms (6),
+.IR uhtml (1)
 .SH BUGS
 .PP
 Ms2html doesn't understand a number of troff
@@ -75,4 +79,4 @@
 commands.  It does handle macros and defined
 strings.
 .PP
-Html2ms doesn't understand html tables.
+Html2ms doesn't understand HTML tables. 
--