bugGNU roff - Bugs: bug #63289, [mdoc] .Bd -unfilled lines run...


bug #63289: [mdoc] .Bd -unfilled lines run together when .Sm and .No are both also in effect

Submitter:  None
Submitted:  Sat 29 Oct 2022 06:31:13 PM UTC
Category:  Macro mdoc Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Sat 29 Oct 2022 06:31:13 PM UTC, original submission:  

I noticed incorrect formatting of the URL examples in OpenBSD autoinstall(8) man page when rendered with GNU man / nroff
(version 1.22.4, Archlinux package).[1]

I was able to cut it down to the following minimal reproducer:

.Dd bug
.Dt TEST 7
.Nm test
.Nd illustration of mdoc .Bd macro
.Sm off
.Bd -unfilled
.No line1

line1 and line2 are run together in output of GNU "nroff -mdoc".

Removing either the .Sm or the .No macro makes GNU troff produce the (in my understanding, and matching OpenBSD mandoc) correct rendering with all three lines on separate lines.

Passage starting on line 99:



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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by gbranden (Updated the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-11-02 gbranden Summary.Bd -unfilled lines run together when .Sm and .No are both also in effect [mdoc] .Bd -unfilled lines run together when .Sm and .No are both also in effect

    Back to the top

    Powered by Savane 3.12