From e87764af026befe56bf121a50708564d413fa82c Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Fri, 12 Sep 2014 00:10:26 +0000 Subject: document new SEE ALSO .Xr warnings --- demandoc.1 | 6 +++--- mandoc.1 | 20 ++++++++++++++++++-- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/demandoc.1 b/demandoc.1 index 84571baf..bca69eff 100644 --- a/demandoc.1 +++ b/demandoc.1 @@ -1,4 +1,4 @@ -.\" $Id: demandoc.1,v 1.7 2013/07/13 19:41:16 schwarze Exp $ +.\" $Id: demandoc.1,v 1.8 2014/09/12 00:10:26 schwarze Exp $ .\" .\" Copyright (c) 2011 Kristaps Dzonsons .\" @@ -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: July 13 2013 $ +.Dd $Mdocdate: September 12 2014 $ .Dt DEMANDOC 1 .Os .Sh NAME @@ -92,7 +92,7 @@ This is accomplished as follows (assuming British spelling): .Dl $ demandoc -w file.1 | spell -b .Sh SEE ALSO .Xr mandoc 1 , -.Xr man 7 +.Xr man 7 , .Xr mdoc 7 .Sh HISTORY .Nm diff --git a/mandoc.1 b/mandoc.1 index ee4c4c51..2c5dccbc 100644 --- a/mandoc.1 +++ b/mandoc.1 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.111 2014/09/07 23:25:01 schwarze Exp $ +.\" $Id: mandoc.1,v 1.112 2014/09/12 00:10:26 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 7 2014 $ +.Dd $Mdocdate: September 12 2014 $ .Dt MANDOC 1 .Os .Sh NAME @@ -766,6 +766,22 @@ 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 "unusual Xr order" +.Pq mdoc +In the SEE ALSO section, an +.Ic \&Xr +macro with a lower section number follows one with a higher number, +or two +.Ic \&Xr +macros refering to the same section are out of alphabetical order. +.It Sy "unusual Xr punctuation" +.Pq mdoc +In the SEE ALSO section, punctuation between two +.Ic \&Xr +macros differs from a single comma, or there is trailing punctuation +after the last +.Ic \&Xr +macro. .It Sy "AUTHORS section without An macro" .Pq mdoc An AUTHORS sections contains no -- cgit v1.2.3-56-ge451