summaryrefslogtreecommitdiffstats
path: root/man.7
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
commit991c1bddc9c3575802d343811e28c260b842dc84 (patch)
tree5aa08b22b4a4ceb0455bb8a67cfc91a2e0a1cfb9 /man.7
parent4d5758c224d49c1ba03a52b3d534ecba57dab18d (diff)
downloadmandoc-991c1bddc9c3575802d343811e28c260b842dc84.tar.gz
Support .RE with an argument; needed for audio/pms(1).
Diffstat (limited to 'man.7')
-rw-r--r--man.724
1 files changed, 22 insertions, 2 deletions
diff --git a/man.7 b/man.7
index 4bb841f3..6d4c1c95 100644
--- a/man.7
+++ b/man.7
@@ -1,7 +1,7 @@
.\" $Id$
.\"
.\" Copyright (c) 2009, 2010, 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
-.\" Copyright (c) 2011, 2012, 2013 Ingo Schwarze <schwarze@openbsd.org>
+.\" Copyright (c) 2011-2015 Ingo Schwarze <schwarze@openbsd.org>
.\" Copyright (c) 2010 Joerg Sonnenberger <joerg@netbsd.org>
.\"
.\" Permission to use, copy, modify, and distribute this software for any
@@ -555,9 +555,29 @@ and
.Ss \&RE
Explicitly close out the scope of a prior
.Sx \&RS .
-The default left margin is restored to the state of the original
+The default left margin is restored to the state before that
.Sx \&RS
invocation.
+.Pp
+The syntax is as follows:
+.Bd -filled -offset indent
+.Pf \. Sx \&RE
+.Op Ar level
+.Ed
+.Pp
+Without an argument, the most recent
+.Sx \&RS
+block is closed out.
+If
+.Ar level
+is 1, all open
+.Sx \&RS
+blocks are closed out.
+Otherwise,
+.Ar level No \(mi 1
+nested
+.Sx \&RS
+blocks remain open.
.Ss \&RI
Text is rendered alternately in roman (the default font) and italics.
Whitespace between arguments is omitted in output.