From a5e125dfa8853574588e217f6f9c6cd903da5dfb Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 4 Feb 2015 18:03:47 +0000 Subject: discard .Rs head arguments and improve .Rs diagnostics --- mandoc.1 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'mandoc.1') diff --git a/mandoc.1 b/mandoc.1 index cda92aa2..a80634e3 100644 --- a/mandoc.1 +++ b/mandoc.1 @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.142 2015/02/04 16:38:56 schwarze Exp $ +.\" $Id: mandoc.1,v 1.143 2015/02/04 18:03:47 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons .\" Copyright (c) 2012, 2014, 2015 Ingo Schwarze @@ -1091,6 +1091,14 @@ macro has no argument, or only one argument and no macro follows on the same input line. This defeats its purpose; in particular, spacing is not suppressed before the text or macros following on the next input line. +.It Sy "empty reference block" +.Pq mdoc +An +.Ic \&Rs +macro is immediately followed by an +.Ic \&Re +macro on the next input line. +Such an empty block does not produce any output. .It Sy "missing -std argument, adding it" .Pq mdoc An @@ -1595,6 +1603,7 @@ An .Ic \&Ek , .Ic \&El , .Ic \&Re , +.Ic \&Rs , or .Ic \&Ud macro, an -- cgit v1.2.3-56-ge451