aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit84a5436e156c4265426ca376f5654c53dd3ac23b (patch)
treee0d1d8f95b1f4746a91962cac4a9025f9783b64d /man.7
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 'man.7')
-rw-r--r--man.728
1 files changed, 24 insertions, 4 deletions
diff --git a/man.7 b/man.7
index 5cccd328..8c61748e 100644
--- a/man.7
+++ b/man.7
@@ -1,7 +1,7 @@
-.\" $Id: man.7,v 1.128 2014/12/28 15:23:33 schwarze Exp $
+.\" $Id: man.7,v 1.129 2015/01/24 01:58:33 schwarze Exp $
.\"
.\" 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
@@ -16,7 +16,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: December 28 2014 $
+.Dd $Mdocdate: January 24 2015 $
.Dt MAN 7
.Os
.Sh NAME
@@ -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.