bug-groff
[Top][All Lists]
Advanced

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

[bug #42217] -me macro .(b block has incorrect vertical spacing


From: Dave
Subject: [bug #42217] -me macro .(b block has incorrect vertical spacing
Date: Mon, 28 Apr 2014 01:50:15 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Firefox/24.0

URL:
  <http://savannah.gnu.org/bugs/?42217>

                 Summary: -me macro .(b block has incorrect vertical spacing
                 Project: GNU troff
            Submitted by: barx
            Submitted on: Sun 27 Apr 2014 08:50:14 PM CDT
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

In the -me macro set, a block defined with .(b and .)b does not have the same
amount of space above and below it.

meref.me documents that it should: "All displays except centered blocks and
block quotes are preceded and followed by an extra \n(bs ... space."  Also,
this worked correctly prior to git commit
b69062693d3360efce9d4d63fac337be21e07db7 to tmac/e.tmac, applied 20 Jul 2011.

The bug can be demonstrated with the following input file:

.mso me.tmac
.nr bs 2v
Above the block.
.(b L
In the block, with surrounding space = \n(bs.
.)b
Below the block.
.br
.
.nr bs 0
Above the block.
.(b L
In the block, with surrounding space = \n(bs.
.)b
Below the block.
.br

In both cases, we should expect to see the "In the block" line equidistantly
spaced from the "Above" and "Below" lines.  This is so when using an e.tmac
from before the Jul 2011 commit; however, when using a later one, the output
contains one extra line above the block in each case.

(Also posted to the groff email list:
  http://lists.gnu.org/archive/html/groff/2013-12/msg00063.html
  http://lists.gnu.org/archive/html/groff/2014-04/msg00043.html
)




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?42217>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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