=================================================================== RCS file: /cvs/mandoc/mdoc.7,v retrieving revision 1.31 retrieving revision 1.32 diff -u -p -r1.31 -r1.32 --- mandoc/mdoc.7 2009/06/22 12:22:35 1.31 +++ mandoc/mdoc.7 2009/06/22 13:09:17 1.32 @@ -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