From 874ac26ff8affa95d651832b3050f9fd13ae9aca Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Sun, 7 Sep 2014 23:25:01 +0000 Subject: warn about AUTHORS sections without .An macros, inspired by mdoclint(1) --- mandoc.1 | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'mandoc.1') diff --git a/mandoc.1 b/mandoc.1 index 6df15edc..ee4c4c51 100644 --- a/mandoc.1 +++ b/mandoc.1 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.110 2014/09/03 05:22:45 schwarze Exp $ +.\" $Id: mandoc.1,v 1.111 2014/09/07 23:25:01 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2012, 2014 Ingo Schwarze @@ -15,7 +15,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: September 3 2014 $ +.Dd $Mdocdate: September 7 2014 $ .Dt MANDOC 1 .Os .Sh NAME @@ -766,6 +766,12 @@ The same standard section title occurs more than once. .Pq mdoc A standard section header occurs in a section of the manual where it normally isn't useful. +.It Sy "AUTHORS section without An macro" +.Pq mdoc +An AUTHORS sections contains no +.Ic \&An +macros, or only empty ones. +Probably, there are author names lacking markup. .El .Ss "Warnings related to macros and nesting" .Bl -ohang -- cgit v1.2.3