summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-06-08 00:11:48 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-06-08 00:11:48 +0000
commit6be10e9272f14dcb8b06b99ef3f93cd512c93c06 (patch)
tree33a1dcaf8ce15e10b11392e60edffa466ca9d94c /usr.bin/mandoc/mandoc.1
parent70facb8307224a9045933d4777f2fcfc34197391 (diff)
Merge more bits that will be going into 1.10.1:
Clean up vertical spacing in the SYNOPSIS, making the code much more systematic; this doesn't solve all SYNOPSIS problems yet, in particular not those related to keeps, indentation and the low-level .nr roff instruction, but it's a nice step forward and i couldn't find relevant regressions. (from kristaps) Besides, * make the output width configurable (default: -Owidth=80) (kristaps) * use mmap with MAP_SHARED (from Joerg Sonnenberger)
Diffstat (limited to 'usr.bin/mandoc/mandoc.1')
-rw-r--r--usr.bin/mandoc/mandoc.118
1 files changed, 14 insertions, 4 deletions
diff --git a/usr.bin/mandoc/mandoc.1 b/usr.bin/mandoc/mandoc.1
index ec42f9d9e1d..f2ac4b1a110 100644
--- a/usr.bin/mandoc/mandoc.1
+++ b/usr.bin/mandoc/mandoc.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mandoc.1,v 1.29 2010/05/14 01:54:37 schwarze Exp $
+.\" $OpenBSD: mandoc.1,v 1.30 2010/06/08 00:11:47 schwarze Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 14 2010 $
+.Dd $Mdocdate: June 8 2010 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -203,11 +203,11 @@ and
.Fl f Ns Cm no-ign-macro .
.El
.Ss Output Options
-For the time being, only
+The
.Fl T Ns Ar html
and
.Fl T Ns Ar xhtml
-accept output options:
+modes accept the following output options:
.Bl -tag -width Ds
.It Fl O Ns Cm includes Ns = Ns Ar fmt
The string
@@ -245,6 +245,16 @@ is used for an external style-sheet.
This must be a valid absolute or
relative URI.
.El
+.Pp
+The
+.Fl T Ns Ar ascii
+mode accepts the following output option:
+.Bl -tag -width Ds
+.It Fl O Ns Cm width Ns = Ns Ar width
+The output width is set to
+.Ar width ,
+which will normalise to \(>=60.
+.El
.Sh OUTPUT
This section documents output details of
.Nm .