From 369129e10cecda27554b9987d819367bcfcf3353 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Mon, 22 Jun 2009 13:09:17 +0000 Subject: libman documents require `TH' and at least one node. libman requirements documented in man.7 STRUCTURE section. Added STRUCTURE section to mdoc.7, too. --- mdoc.7 | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'mdoc.7') diff --git a/mdoc.7 b/mdoc.7 index 6228cc67..4b0914ac 100644 --- a/mdoc.7 +++ b/mdoc.7 @@ -1,4 +1,4 @@ -.\" $Id: mdoc.7,v 1.31 2009/06/22 12:22:35 kristaps Exp $ +.\" $Id: mdoc.7,v 1.32 2009/06/22 13:09:17 kristaps Exp $ .\" .\" Copyright (c) 2009 Kristaps Dzonsons .\" @@ -278,7 +278,23 @@ In-lines have \(>=0 scoped arguments. \&.Yy \(lB\-arg \(lBval...\(rB\(rB arg0 arg1 argN .Ed -.\" +.\" SECTION +.Sh STRUCTURE +Each +.Nm +document must begin with the document prologue, containing, in order, +.Sq \&.Dd , +.Sq \&.Dt , +and +.Sq \&.Os . +.Pp +Following these, the document body must begin with the NAME section +containing at least one +.Sq \&.Nm +followed by a +.Sq \&.Nd +macro. +.\" SECTION .Sh MACROS This section contains a complete list of all .Nm -- cgit v1.2.3-56-ge451