groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 33/35: [docs]: Fix documentation error regarding `\R`.


From: G. Branden Robinson
Subject: [groff] 33/35: [docs]: Fix documentation error regarding `\R`.
Date: Mon, 25 Oct 2021 03:32:43 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 7783d15a9b1a351db87499f8820bfc8524af65fd
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sun Oct 24 22:28:44 2021 +1100

    [docs]: Fix documentation error regarding `\R`.
    
    * doc/groff.texi (Auto-increment): Fix error; the `\R` escape sequence
      does _not_ support an auto-incrementation amount.
    
    Also tighten the description of this escape sequence in groff_diff(7).
---
 ChangeLog            | 8 +++++---
 doc/groff.texi       | 2 +-
 man/groff_diff.7.man | 9 ++++-----
 3 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 58a4e00..020dad3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2021-10-24  G. Branden Robinson <g.branden.robinson@gmail.com>
 
+       * doc/groff.texi (Auto-increment): Fix error; the `\R` escape
+       sequence does _not_ support an auto-incrementation amount.
        * man/groff_out.5.man (Command reference/Simple commands): Fix
        erroneous claim: 'N' is not a GNU roff extension; it appears on
        page 27 of CSTR#54 (1992).
@@ -18,9 +20,9 @@
 
        [ms]: Fix misleading NH macro indentation.
 
-       * tmac/s.tmac (@NH) [.T is html]: .if statement should exhibit same
-       indentation as preceding .DEVTAG-NH statement, but is overindented;
-       fix it.
+       * tmac/s.tmac (@NH) [.T is html]: .if statement should exhibit
+       same indentation as preceding .DEVTAG-NH statement, but is
+       overindented; fix it.
 
 2021-10-23  Keith Marshall  <keith.d.marshall@ntlworld.com>
 
diff --git a/doc/groff.texi b/doc/groff.texi
index f7f4619..4a70879 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -6669,7 +6669,7 @@ assignments) are possible.
 
 Number registers can also be auto-incremented and auto-decremented.  The
 increment or decrement value can be specified with a third argument to
-the @code{nr} request or @code{\R} escape.
+the @code{nr} request.
 
 @Defreq {nr, ident value incr}
 @cindex @code{\R}, difference to @code{nr}
diff --git a/man/groff_diff.7.man b/man/groff_diff.7.man
index c82c92e..0abf589 100644
--- a/man/groff_diff.7.man
+++ b/man/groff_diff.7.man
@@ -645,14 +645,13 @@ or
 is associated with the production of the next inline image.
 .RE
 .
+.
 .TP
 .BI \[rs]R\[aq] name\~\[+-]n \[aq]
-This has the same effect as
+Synonymous with
+.RB \[lq] .nr
+.IR name\~\[+-]n \[rq].
 .
-.RS
-.IP
-.BI .nr\~ name\~\[+-]n
-.RE
 .
 .TP
 .BI \[rs]s[ \[+-]n ]



reply via email to

[Prev in Thread] Current Thread [Next in Thread]