aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--index.sgml18
-rw-r--r--preconv.19
2 files changed, 24 insertions, 3 deletions
diff --git a/index.sgml b/index.sgml
index 6756f39a..cb489104 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
@@ -361,7 +377,7 @@
<SMALL>
Copyright &#169; 2008&#8211;2011
<A CLASS="external" HREF="http://kristaps.bsd.lv">Kristaps Dzonsons</A>,
- $Date: 2011/05/19 16:02:01 $
+ $Date: 2011/05/26 12:14:46 $
</SMALL>
</P>
</BODY>
diff --git a/preconv.1 b/preconv.1
index 72970061..266cbc7c 100644
--- a/preconv.1
+++ b/preconv.1
@@ -1,4 +1,4 @@
-.\" $Id: preconv.1,v 1.1 2011/05/26 12:01:14 kristaps Exp $
+.\" $Id: preconv.1,v 1.2 2011/05/26 12:14:46 kristaps Exp $
.\"
.\" Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -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