gbranden pushed a commit to branch master
in repository groff.

commit 3ea58a03320ba2f7d1a155d2756ea32ea54b7b2a
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu May 13 17:51:07 2021 +1000

    [ms]: Document \n[DD] as a Berkeley extension.
    
    It appears in 4.2BSD's ms(7) (1983), but not in Lesk 1978.
    
    Also relocate the stuff about it also applying to tbl, eqn, and pic to
    the section on using preprocessors.
---
 doc/ms.ms           | 32 +++++++++++++++++++-------------
 tmac/groff_ms.7.man | 25 ++++++++++++++++---------
 2 files changed, 35 insertions(+), 22 deletions(-)

diff --git a/doc/ms.ms b/doc/ms.ms
index 373e04c..d091fe1 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -1693,14 +1693,11 @@ macro to end any display type.
 .
 .
 .PP
-The
+The distance stored in
 .CW \[rs]n[DD]
-distance used before and after each pair of display macros is also
-applied to regions of the document preprocessed with
-.I eqn (1),
-.I pic (1),
-and
-.I tbl (1).
+is inserted before and after each pair of display macros.
+.
+This is a Berkeley extension.
 .
 .
 .PP
@@ -1827,13 +1824,22 @@ The
 macros support the standard
 .I groff
 preprocessors:
-.I tbl ,
-.I pic ,
-.I eqn ,
+.I tbl (1),
+.I pic (1),
+.I eqn (1),
 and
-.I refer .
-You mark text meant for preprocessors by enclosing it
-in pairs of tags as follows:
+.I refer (1).
+.
+The
+.CW \[rs]n[DD]
+distance is also applied to regions of the document preprocessed with
+.I tbl (1),
+.I pic (1),
+and
+.I eqn (1).
+.
+Mark text meant for preprocessors by enclosing it in pairs of tags as
+follows.
 .
 .
 .TS
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 0427031..81b3df6 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -311,15 +311,6 @@ _
 .
 .
 .LP
-The
-.B \[rs]n[DD]
-distance used before and after each pair of display macros is also
-applied to regions of the document preprocessed with
-.IR \%@g@eqn (@MAN1EXT@),
-.IR \%@g@pic (@MAN1EXT@),
-and
-.IR \%@g@tbl (@MAN1EXT@).
-.
 The \[lq]gutter\[rq] affected by
 .B \[rs]n[MINGW]
 is the gap between columns in multiple-column page arrangements.
@@ -1066,6 +1057,14 @@ macro to end any display type.
 .
 .
 .PP
+The distance stored in
+.B \[rs]n[DD]
+is inserted before and after each pair of display macros.
+.
+This is a Berkeley extension.
+.
+.
+.PP
 The
 .B \[rs]n[DI]
 indentation is applied to only to displays created with
@@ -1162,6 +1161,14 @@ preprocessors:
 and
 .IR \%@g@refer (@MAN1EXT@).
 .
+The
+.B \[rs]n[DD]
+distance is also applied to regions of the document preprocessed with
+.IR \%@g@eqn (@MAN1EXT@),
+.IR \%@g@pic (@MAN1EXT@),
+and
+.IR \%@g@tbl (@MAN1EXT@).
+.
 Mark text meant for preprocessors by enclosing it in pairs of tags as
 follows.
 .

_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to