URL: <https://savannah.gnu.org/bugs/?68271>
Summary: space issue with "nroff -mandoc" and macro IP in
groff 1.24.1
Group: GNU roff
Submitter: vinc17
Submitted: ven. 24 avril 2026 02:15:49
Category: Macro package man
Severity: 3 - Normal
Item Group: Incorrect behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Unlocked
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: ven. 24 avril 2026 02:15:49 By: Vincent Lefèvre <vinc17>
After the upgrade of the groff Debian packages from 1.23.0-10 to 1.24.1-1, the
output with the use of the macro IP can be incorrect. This affects the
perlfunc(1) man page for 4-letter functions without an argument, such as
"fork" (this man page uses an indentation of 4 spaces).
Simple testcase:
With 1.23.0 (correct):
$ printf ".TH\n.SH D\n.IP fork 4\ntext\n" | nroff -mandoc
()
()
D
fork
text
()
But with 1.24.1 (incorrect as there is no space between "fork" and "text"):
$ printf ".TH\n.SH D\n.IP fork 4\ntext\n" | nroff -mandoc
()
()
D
forktext
()
More generally, this is incorrect when the length of the mark is equal to the
indentation.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?68271>
_______________________________________________
Message posté via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
