summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/man.3
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2009-08-22 20:14:38 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2009-08-22 20:14:38 +0000
commite0f3ca1e45ac39a9d861bcdc913ff8d889157334 (patch)
treeb48bdeec68fb458f8247a1a4b225f748e872ec71 /usr.bin/mandoc/man.3
parent12edb8cbd26b26458868c184cdfd77dd8d066233 (diff)
Kristaps@ significantly overhauled libman.
I'm committing this in one large chunk because in contrast to -mdoc, -man is mostly untested in OpenBSD anyway, so any fallout can be fixed in-tree. Among others, improved support for .IP, .HP, and .TP. Now in sync with release 1.9.0.
Diffstat (limited to 'usr.bin/mandoc/man.3')
-rw-r--r--usr.bin/mandoc/man.312
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/mandoc/man.3 b/usr.bin/mandoc/man.3
index f9b20f69f5d..a7db356ff1c 100644
--- a/usr.bin/mandoc/man.3
+++ b/usr.bin/mandoc/man.3
@@ -1,4 +1,4 @@
-.\" $Id: man.3,v 1.4 2009/08/09 17:20:17 schwarze Exp $
+.\" $Id: man.3,v 1.5 2009/08/22 20:14:37 schwarze Exp $
.\"
.\" Copyright (c) 2009 Kristaps Dzonsons <kristaps@kth.se>
.\"
@@ -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: August 9 2009 $
+.Dd $Mdocdate: August 22 2009 $
.Dt MAN 3
.Os
.\" SECTION
@@ -220,7 +220,13 @@ where capitalised non-terminals represent nodes.
.It ROOT
\(<- mnode+
.It mnode
-\(<- ELEMENT | TEXT
+\(<- ELEMENT | TEXT | BLOCK
+.It BLOCK
+\(<- HEAD BODY
+.It HEAD
+\(<- mnode*
+.It BODY
+\(<- mnode*
.It ELEMENT
\(<- ELEMENT | TEXT*
.It TEXT