bugGNU troff - Bugs: bug #42217, -me macro .(b block has incorrect...


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

Submitted by:  Dave <barx>
Submitted on:  Mon 28 Apr 2014 01:50:14 AM UTC  
Severity: 3 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Planned Release: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Mon 28 Apr 2014 01:50:14 AM UTC, original submission:

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.
Below the block.
.nr bs 0
Above the block.
.(b L
In the block, with surrounding space = \n(bs.
Below the block.

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:

Dave <barx>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by barx (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup