summaryrefslogtreecommitdiffstatshomepage
path: root/roff.7
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-27 16:36:22 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-27 16:36:22 +0000
commit6cada7207531441ac6e3c2092d5039902122137b (patch)
tree4860615c512cd8c77e9b4659d92be388389da8b5 /roff.7
parentdc95dcaff23f7235529d0b5d9866a252ca3f8c06 (diff)
downloadmandoc-6cada7207531441ac6e3c2092d5039902122137b.tar.gz
mandoc-6cada7207531441ac6e3c2092d5039902122137b.tar.zst
mandoc-6cada7207531441ac6e3c2092d5039902122137b.zip
Allow registers to be unset. Implement and document the `.nr nS val'.
Diffstat (limited to 'roff.7')
-rw-r--r--roff.711
1 files changed, 7 insertions, 4 deletions
diff --git a/roff.7 b/roff.7
index beadceb1..f56e2d59 100644
--- a/roff.7
+++ b/roff.7
@@ -1,4 +1,4 @@
-.\" $Id: roff.7,v 1.10 2010/06/26 15:22:19 kristaps Exp $
+.\" $Id: roff.7,v 1.11 2010/06/27 16:36:22 kristaps Exp $
.\"
.\" Copyright (c) 2010 Kristaps Dzonsons <kristaps@bsd.lv>
.\"
@@ -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: June 26 2010 $
+.Dd $Mdocdate: June 27 2010 $
.Dt ROFF 7
.Os
.Sh NAME
@@ -289,12 +289,15 @@ requests are recognised:
.It Cm nS
If set to a positive integer value, certain
.Xr mdoc 7
-macros will behave as if they are defined in the
+macros will behave as if they were defined in the
.Em SYNOPSIS
-section to a manual.
+section.
Otherwise, this behaviour is unset (even if called within the
.Em SYNOPSIS
section itself).
+Note that invoking a new
+.Xr mdoc 7
+section will unset this value.
.El
.Ss \&tr
Output character translation.