shithub: riscv

Download patch

ref: 8472086cc6c9aaf1d4c893a755341253d654a897
parent: f6dd4bb5ee43f44c7ffe2e236d1e3b065b591022
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. 
--