summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-26 12:14:46 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-26 12:14:46 +0000
commit88ed75ccd60fdf8faf6bf756887fa0cc9fca7133 (patch)
tree4fe0394066b4b59bc3da415507e610f209455516
parentdc53a158a4c500cecef7c2188607bd0b8b5057fc (diff)
downloadmandoc-88ed75ccd60fdf8faf6bf756887fa0cc9fca7133.tar.gz
Add notes about preconv.1 in the www and change some wording in the
manual regarding its output and `Nd' sentence.
-rw-r--r--index.sgml16
-rw-r--r--preconv.17
2 files changed, 22 insertions, 1 deletions
diff --git a/index.sgml b/index.sgml
index 63a1ec23..5143a807 100644
--- a/index.sgml
+++ b/index.sgml
@@ -170,6 +170,18 @@
</TD>
</TR>
<TR>
+ <TD VALIGN="top"><A HREF="preconv.1.html">preconv(1)</A></TD>
+ <TD VALIGN="top">
+ recode multibyte UNIX manuals
+ <SMALL>
+ (<A HREF="preconv.1.txt">text</A> |
+ <A HREF="preconv.1.xhtml">xhtml</A> |
+ <A HREF="preconv.1.pdf">pdf</A> |
+ <A HREF="preconv.1.ps">postscript</A>)
+ </SMALL>
+ </TD>
+ </TR>
+ <TR>
<TD VALIGN="top"><A HREF="mandoc.3.html">mandoc(3)</A></TD>
<TD VALIGN="top">
mandoc macro compiler library
@@ -320,6 +332,10 @@
Locale support can be turned off at compile time by removing <I>-DUSE_WCHAR</I> in the <I>Makefile</I>, in which case
<B>-Tlocale</B> is always a synonym for <B>-Tascii</B>.
</P>
+ <P>
+ Furthermore, multibyte-encoded documents, such as those in UTF-8, may be on-the-fly recoded as <A
+ HREF="mandoc.1.html">mandoc</A> input by using the newly-added <A HREF="preconv.1.html">preconv</A> utility.
+ </P>
<P CLASS="news">
12-05-2011: version 1.11.2
diff --git a/preconv.1 b/preconv.1
index 480897ef..d035784f 100644
--- a/preconv.1
+++ b/preconv.1
@@ -19,7 +19,7 @@
.Os
.Sh NAME
.Nm preconv
-.Nd recodes multibyte UNIX manuals as mandoc input
+.Nd recode multibyte UNIX manuals
.Sh SYNOPSIS
.Nm preconv
.Op Fl D Ar enc
@@ -32,6 +32,11 @@ utility recodes multibyte
.Ux
manual files into
.Xr mandoc 1
+.Po
+or other troff system supporting the
+.Sq \e[uNNNN]
+escape sequence
+.Pc
input.
Its arguments are as follows:
.Bl -tag -width Ds