aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.1
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-01-24 01:58:33 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-01-24 01:58:33 +0000
commit84a5436e156c4265426ca376f5654c53dd3ac23b (patch)
treee0d1d8f95b1f4746a91962cac4a9025f9783b64d /mandoc.1
parent69bcff21a66e9383494117c083c088d16c778512 (diff)
downloadmandoc-84a5436e156c4265426ca376f5654c53dd3ac23b.tar.gz
mandoc-84a5436e156c4265426ca376f5654c53dd3ac23b.tar.zst
mandoc-84a5436e156c4265426ca376f5654c53dd3ac23b.zip
Support .RE with an argument; needed for audio/pms(1).
Diffstat (limited to 'mandoc.1')
-rw-r--r--mandoc.121
1 files changed, 17 insertions, 4 deletions
diff --git a/mandoc.1 b/mandoc.1
index 17351856..9a536ea3 100644
--- a/mandoc.1
+++ b/mandoc.1
@@ -1,4 +1,4 @@
-.\" $Id: mandoc.1,v 1.134 2015/01/20 22:45:07 schwarze Exp $
+.\" $Id: mandoc.1,v 1.135 2015/01/24 01:58:33 schwarze Exp $
.\"
.\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
.\" Copyright (c) 2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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: January 20 2015 $
+.Dd $Mdocdate: January 24 2015 $
.Dt MANDOC 1
.Os
.Sh NAME
@@ -1369,6 +1369,16 @@ right delimiter or closing brace, or the end of an equation, table, or
.Xr roff 7
conditional request is encountered but no matching block is open.
The offending request or macro is discarded.
+.It Sy "fewer RS blocks open, skipping"
+.Pq man
+The
+.Ic \&RE
+macro is invoked with an argument, but less than the specified number of
+.Ic \&RS
+blocks is open.
+The
+.Ic \&RE
+macro is discarded.
.It Sy "inserting missing end of block"
.Pq mdoc , tbl
Various
@@ -1537,10 +1547,13 @@ macro, or a
block closing request is invoked with at least one argument.
All arguments are ignored.
.It Sy "skipping excess arguments"
-.Pq mdoc , roff
+.Pq mdoc , man , roff
The
.Ic \&Bf
-macro is invoked with more than one argument, or a request of the
+macro is invoked with more than one argument, the
+.Ic \&RE
+macro is invoked with more than one argument
+or with a non-integer argument, or a request of the
.Ic \&de
family is invoked with more than two arguments.
The excess arguments are ignored.