groff-commit
[Top][All Lists]
Advanced

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

[groff] 06/06: [man]: Stop adding vertical space before tables.


From: G. Branden Robinson
Subject: [groff] 06/06: [man]: Stop adding vertical space before tables.
Date: Sat, 30 Jul 2022 20:43:24 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 7ec36dc9b9618fac504bb0920a2d2bcfed4eedf4
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Sat Jul 30 18:44:03 2022 -0500

    [man]: Stop adding vertical space before tables.
    
    * tmac/an.tmac (TS): Stop inserting space before tables.  Unlike ms(7),
      man(7) has no concept of "displays" and thus none of "display
      distance".  It is up to the page author to use paragraphing macros
      around tables if vertical space is desired.  And not up to us to
      impose it.
    
    Fixes <https://savannah.gnu.org/bugs/?62841>.
---
 ChangeLog    | 10 ++++++++++
 tmac/an.tmac |  1 -
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 73c3b2259..69d5de0d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2022-07-30  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/an.tmac (TS): Stop inserting space before tables.  Unlike
+       ms(7), man(7) has no concept of "displays" and thus none of
+       "display distance".  It is up to the page author to use
+       paragraphing macros around tables if vertical space is desired.
+       And not up to us to impose it.
+
+       Fixes <https://savannah.gnu.org/bugs/?62841>.
+
 2022-07-30  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [man]: Regression-test Savannah #62841.
diff --git a/tmac/an.tmac b/tmac/an.tmac
index b8c83887d..f99213f26 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1049,7 +1049,6 @@ contains unsupported escape sequence
 .  \" If continuous rendering, tell tbl not to use keeps.
 .  ie \\n[cR] .nr 3usekeeps 0
 .  el         .nr 3usekeeps 1
-.  sp \\n[PD]u
 .  if \\n[an-is-output-html] \{\
 .    nr an-TS-ll \\n[.l]
 .    ll 1000n



reply via email to

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