URL: <https://savannah.gnu.org/bugs/?63289>
Summary: .Bd -unfilled lines run together when .Sm and .No are both also in effect Project: GNU troff 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 Discussion Lock: Any Planned Release: None _______________________________________________________ Follow-up Comments: ------------------------------------------------------- Date: Sat 29 Oct 2022 06:31:13 PM UTC By: Anonymous 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 .Os .Sh NAME .Nm test .Nd illustration of mdoc .Bd macro .Sm off .Bd -unfilled .No line1 line2 line3 .Ed 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. [1] Passage starting on line 99: https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share/man/man8/autoinstall.8?annotate=1.25 _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?63289> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/