groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: [me] Fix vertical spacing of `(b' macro.


From: Werner LEMBERG
Subject: [groff] 01/01: [me] Fix vertical spacing of `(b' macro.
Date: Sun, 20 Nov 2016 07:19:28 +0000 (UTC)

wl pushed a commit to branch master
in repository groff.

commit 98b028d626bd7c06a6cd33beed842369f1cdc129
Author: George HELFFRICH <address@hidden>
Date:   Sun Nov 20 08:18:34 2016 +0100

    [me] Fix vertical spacing of `(b' macro.
    
    * tmac/e.tmac-u (@k): Apply pre-spacing conditionally.
    ()b): Updated.
---
 ChangeLog     |    9 ++++++++-
 tmac/e.tmac-u |    4 ++--
 2 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 863c1a1..03b9540 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,15 @@
+2016-11-20  George HELFFRICH  <address@hidden>
+
+       [me] Fix vertical spacing of `(b' macro.
+
+       * tmac/e.tmac-u (@k): Apply pre-spacing conditionally.
+       ()b): Updated.
+
 2016-11-19  George HELFFRICH  <address@hidden>
 
        [me] Fix remaining bugs with line numbering.
 
-       * tmac/e.tmac (nm): Redefine.
+       * tmac/e.tmac-u (nm): Redefine.
        (.n1, .n2): Update so all environments affected.
        (.ip): Fix double numbering.
        (.)c, .)l): Restore numbering after diversion included.
diff --git a/tmac/e.tmac-u b/tmac/e.tmac-u
index 778e3ad..3c380c8 100644
--- a/tmac/e.tmac-u
+++ b/tmac/e.tmac-u
@@ -986,7 +986,7 @@
 .nf
 .ls 1
 .in 0
-.sp \\n(zsu
+.if !`\\$2`ns` .sp \\n(zsu     \" no pre-spacing if (b .. )b
 .if \\n(?n \
 .      nm \\n(ln
 .\\$1
@@ -1019,7 +1019,7 @@
 .@)
 .if (\\n(bt=0):(\\n(.t<\\n(bt) \
 .      ne \\n(dnu              \" make it all on one page
address@hidden |k
address@hidden |k ns
 .ev                             \" return from display environment
 .sp \\n(bsu+\\n(.Lv-1v
 ..



reply via email to

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