groff-commit
[Top][All Lists]
Advanced

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

[groff] 26/40: doc/ms.ms, groff_ms(7): Drop duplicate table.


From: G. Branden Robinson
Subject: [groff] 26/40: doc/ms.ms, groff_ms(7): Drop duplicate table.
Date: Wed, 10 Feb 2021 01:32:20 -0500 (EST)

gbranden pushed a commit to branch master
in repository groff.

commit cd54a3d55006f1fb360f8ba4a8a1c38c3711a434
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Feb 8 18:59:54 2021 +1100

    doc/ms.ms, groff_ms(7): Drop duplicate table.
    
    In both of these documents the margin setting register table is
    presented twice, meaning there are four copies altogether
    (doc/groff.texi has a fifth "copy" in non-tabular form).
    
    Get the situation under control by referring reader to where in the same
    document the relevant table can be found.
    
    This makes the discussion of margins pretty short...
---
 doc/ms.ms           | 26 ++++++++------------------
 tmac/groff_ms.7.man | 26 +++++---------------------
 2 files changed, 13 insertions(+), 39 deletions(-)

diff --git a/doc/ms.ms b/doc/ms.ms
index 9a96efd..3824a67 100644
--- a/doc/ms.ms
+++ b/doc/ms.ms
@@ -1359,25 +1359,15 @@ Margins
 .LP
 Control margins using registers.
 .
-The following table lists the register names and defaults:
-.TS
-box expand;
-cb cb cb cb
-afCR l l a .
-Register       Definition      Effective       Default
-_
-PO     Page offset (left margin)       next page       1i
-LL     Line length     next \[ps]      6i
-LT     Header/footer (title) length    next \[ps]      6i
-HM     Top (header) margin     next page       1i
-FM     Bottom (footer) margin  next page       1i
-.TE
+These are summarized in the \[lq]Margins\[rq] section of the table in
+section \[lq]Document control settings\[rq] above.
+.
+There is no right margin setting;
+the combination of page offset and line length provide the information
+necessary to derive the right margin.
 .KE
-.PP
-Note that there is no right margin setting.
-The combination of page offset and line length
-provide the information necessary to
-derive the right margin.
+.
+.
 .KS
 .NH 2
 Multiple columns
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index d6db9f3..4ae70ac 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -1299,28 +1299,12 @@ after printing the header
 .
 Control margins using registers.
 .
-The following table lists the register names and defaults:
-.RS
-.ne 8
-.TS
-cb   cb cb cb
-lfCR lx  l  lfCR.
-Reg.   Definition      Effective       Default
-_
-PO     Page offset (left margin)       next page       1i
-LL     Line length     next paragraph  6i
-LT     Header/footer length    next paragraph  6i
-HM     Top (header) margin     next page       1i
-FM     Bottom (footer) margin  next page       1i
-_
-.TE
-.RE
+These are summarized in the \[lq]Margin Settings\[rq] table in
+subsection \[lq]Document control settings\[rq] above.
 .
-.PP
-Note that there is no right margin setting.
-The combination of page offset and line length
-provide the information necessary to
-derive the right margin.
+There is no right margin setting;
+the combination of page offset and line length provide the information
+necessary to derive the right margin.
 .
 .
 .\" ====================================================================



reply via email to

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