From bd6a65097a3262c4303cae62507f2ae270b2c222 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 3 Jan 2010 16:43:47 +0000 Subject: Neither .Pp nor unqualified text are allowed at the top level of .Bl; instead, .It is required. Thus, move .Pp and text before the .Bl, and remove the .Pp altogether where it is not needed. Syntax errors found by mandoc(1), also required to fix the mandoc build; feedback and ok jmc@, and sobrado@ also supports the direction. --- share/man/man7/mdoc.7 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/man/man7') diff --git a/share/man/man7/mdoc.7 b/share/man/man7/mdoc.7 index 41eb4202223..e5bd850f6ca 100644 --- a/share/man/man7/mdoc.7 +++ b/share/man/man7/mdoc.7 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mdoc.7,v 1.41 2009/04/23 15:37:14 sobrado Exp $ +.\" $OpenBSD: mdoc.7,v 1.42 2010/01/03 16:43:45 schwarze Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)mdoc.7 8.2 (Berkeley) 12/30/93 .\" -.Dd $Mdocdate: April 23 2009 $ +.Dd $Mdocdate: January 3 2010 $ .Dt MDOC 7 .Os .Sh NAME @@ -67,8 +67,8 @@ formatting packages. .Ss Title Macros To create a valid manual page, these three macros, in this order, are required: -.Bl -tag -width "xxxx.Os OPERATINGxSYSTEM [version/release]" -compact .Pp +.Bl -tag -width "xxxx.Os OPERATINGxSYSTEM [version/release]" -compact .It Li "\&.Dd $\&Mdocdate$" Expands to document date. .It Li "\&.Dt " Ar "DOCUMENT_TITLE [section] [volume]" -- cgit v1.2.3