groff-commit
[Top][All Lists]
Advanced

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

[groff] 18/22: [ms]: Fix doc error in description of \n[DD].


From: G. Branden Robinson
Subject: [groff] 18/22: [ms]: Fix doc error in description of \n[DD].
Date: Thu, 13 May 2021 05:08:39 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 430edb3cba0d79caa6e18b91bfafb9b5e017d066
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Thu May 13 17:14:29 2021 +1000

    [ms]: Fix doc error in description of \n[DD].
    
    * doc/groff.texi (ms Document Control Settings) <DD>:
    * doc/ms.ms (Document control settings) <DD>:
    * tmac/groff_ms.7.man (Document control settings) <DD>: Fix error;
      changes to \n[DD] take effect at the next display boundary (including
      the end of the active one), not the next "paragraph" (paragraph macros
      cannot be called inside a display anyway).
    
    The "disp-boundary" thing is a nonce measure; it will be restructured
    away in a subsequent commit.
---
 ChangeLog           | 10 ++++++++++
 doc/groff.texi      |  2 +-
 doc/ms.ms           |  2 +-
 tmac/groff_ms.7.man |  2 +-
 4 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5d6785c..bdb57ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2021-05-13  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * doc/groff.texi (ms Document Control Settings) <DD>:
+       * doc/ms.ms (Document control settings) <DD>:
+       * tmac/groff_ms.7.man (Document control settings) <DD>: Fix
+       error; changes to \n[DD] take effect at the next display
+       boundary (including the end of the active one), not the next
+       "paragraph" (paragraph macros cannot be called inside a display
+       anyway).
+
 2021-05-12  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        * tmac/andoc.tmac (reload-man): Delete no-op line that attempts
diff --git a/doc/groff.texi b/doc/groff.texi
index e5f8f00..e3c1adf 100644
--- a/doc/groff.texi
+++ b/doc/groff.texi
@@ -2816,7 +2816,7 @@ Sets the vertical spacing before and after a display, a 
@code{tbl}
 table, an @code{eqn} equation, or a @code{pic} image.  This is a
 Berkeley extension.
 
-Effective: next paragraph.
+Effective: next display boundary.
 
 Default: 0.5@dmn{v}.
 @endDefmpreg
diff --git a/doc/ms.ms b/doc/ms.ms
index c303ef9..c693df5 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -345,7 +345,7 @@ Footnotes   \[rs]n[FI]      Indentation     next footnote   
2n
 \^     \[rs]n[FPD]     Paragraph spacing       next footnote   \[rs]n[PD]/2
 \^     \[rs]*[FR]      Line length ratio       special 11/12
 _
-Other  \[rs]n[DD]      Display distance (spacing)      next \[ps]      0.5v
+Other  \[rs]n[DD]      Display distance (spacing)      disp-boundary   0.5v
 \^     \[rs]n[MINGW]   Minimum gutter width    next page       2n
 .TE
 .
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 1fdb64e..7e9fe6e 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -288,7 +288,7 @@ lfCR lx  l  lfCR.
 Other settings
 Parameter      Definition      Effective       Default
 _
-\[rs]n[DD]     Display distance (spacing)      next paragraph  0.5v
+\[rs]n[DD]     Display distance (spacing)      disp-boundary   0.5v
 \[rs]n[MINGW]  Minimum gutter width    next page       2n
 _
 .TE



reply via email to

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