groff-commit
[Top][All Lists]
Advanced

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

[groff] 20/40: [ms]: Correct the discussion of the DI register.


From: G. Branden Robinson
Subject: [groff] 20/40: [ms]: Correct the discussion of the DI register.
Date: Sat, 5 Feb 2022 12:58:05 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit 702d5439e85431a63ff4b0d89e8005cbd621ce07
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Fri Feb 4 08:35:49 2022 +1100

    [ms]: Correct the discussion of the DI register.
    
    It applies to `DS` displays with no argument as well.
    
    See <https://savannah.gnu.org/bugs/?61422>.
---
 doc/groff.texi      |  9 +++++----
 doc/ms.ms           | 12 +++++++-----
 tmac/groff_ms.7.man | 10 ++++++----
 3 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/doc/groff.texi b/doc/groff.texi
index 20a7e677..7801e501 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -3818,10 +3818,11 @@ End any display.
 
 The distance stored in the @code{DD} register is inserted before and
 after each pair of display macros; this is a Berkeley extension.  The
-identation amount stored in the @code{DI} register is applied only to
-displays created with @samp{.DS I} and @code{ID}; this is a GNU
-extension.  Changes to either register take effect at the next display
-boundary.
+@code{DI} register is a GNU extension; its value is an indentation
+applied to displays created with @samp{.DS} and @samp{.ID} without
+arguments, to @samp{.DS I} without an indentation argument, and to
+indented equations set with @samp{.EQ}.  Changes to either register take
+effect at the next display boundary.
 
 @c ---------------------------------------------------------------------
 
diff --git a/doc/ms.ms b/doc/ms.ms
index f3e19039..b207b067 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -1982,15 +1982,17 @@ is inserted before and after each pair of display 
macros;
 this is a Berkeley extension.
 .
 The
-.CW \[rs]n[DI]
+.CW DI
 register is a GNU extension;
 its value is an indentation applied to displays created with
 .CW .DS
-(with no argument),
-.CW ".DS\~I" \[rq], \[lq]
 and
-.CW .ID ;
-and indented equations set with
+.CW .ID
+without arguments,
+to
+.CW ".DS\~I" \[rq], \[lq]
+without an indentation argument,
+and to indented equations set with
 .CW .EQ .
 .
 Changes to either register take effect at the next display boundary.
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 4204ce83..c40648a6 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -1333,14 +1333,16 @@ is inserted before and after each pair of display 
macros;
 this is a Berkeley extension.
 .
 The
-.B \[rs]n[DI]
+.B DI
 register is a GNU extension;
 its value is an indentation applied to displays created with
 .B .DS
-(with no argument),
-.RB \[lq] ".DS\~I" \[rq],
 and
-.BR .ID ;
+.B .ID
+without arguments,
+to
+.RB \[lq] ".DS\~I" \[rq],
+without an indentation argument,
 and indented equations set with
 .BR .EQ .
 .



reply via email to

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