[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 06/11: doc/groff.texi: Fix error in .rnn description.
From: |
G. Branden Robinson |
Subject: |
[groff] 06/11: doc/groff.texi: Fix error in .rnn description. |
Date: |
Mon, 12 Apr 2021 06:07:20 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit d6be5aee965127cd794a4bbb57ca130e954d259e
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Apr 11 09:45:35 2021 +1000
doc/groff.texi: Fix error in .rnn description.
* doc/groff.texi (Setting Registers) <rnn>: Fix error; the request is
not ignored if the second argument (the new name) does not exist.
Problem dates back to 52a6d12a (11 May 2000).
* man/groff_diff.7.man (Language/New requests) <rnn>: Sync with above.
Input:
.rr b
.nr a 1
.rnn a b
.tm \nb
Output (stderr):
1
---
ChangeLog | 6 ++++++
doc/groff.texi | 4 ++--
man/groff_diff.7.man | 7 +++++++
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index a21e856..fc1d744 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-04-11 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * doc/groff.texi (Setting Registers) <rnn>: Fix error; the
+ request is not ignored if the second argument (the new name)
+ does not exist. Problem dates back to 52a6d12a (11 May 2000).
+
2021-04-09 G. Branden Robinson <g.branden.robinson@gmail.com>
Implement new .soquiet and .msoquiet requests.
diff --git a/doc/groff.texi b/doc/groff.texi
index 4279eca..9118886 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -6470,8 +6470,8 @@ any.
@Defreq {rnn, ident1 ident2}
@cindex renaming a register (@code{rnn})
@cindex register, renaming (@code{rnn})
-Rename register @var{ident1} to @var{ident2}. If either @var{ident1} or
-@var{ident2} doesn't exist, the request is ignored.
+Rename register @var{ident1} to @var{ident2}. If @var{ident1} doesn't
+exist, the request is ignored.
@endDefreq
@Defreq {aln, new old}
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index a5e263c..44d838e 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -2769,6 +2769,7 @@ The
request implicitly does
.BR .rj\~0 .
.
+.
.TP
.BI .rnn \~xx\~yy
Rename number register
@@ -2776,6 +2777,12 @@ Rename number register
to
.IR yy .
.
+If
+.I xx
+doesn't exist,
+the request is ignored.
+.
+.
.TP
.BI .schar\~ c\~string
Define global fallback character (or glyph)\~\c
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 06/11: doc/groff.texi: Fix error in .rnn description.,
G. Branden Robinson <=