URL: <https://savannah.gnu.org/bugs/?65761>
Summary: macro TP with '\c' and a single-font macro in the tag fails to format correctly Group: GNU roff Submitter: bjarniig Submitted: Mon 20 May 2024 01:00:14 AM UTC Category: Macro package man 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: Mon 20 May 2024 01:00:14 AM UTC By: Bjarni Ingi Gislason <bjarniig> Subject: an.tmac: macro TP with '\c' and a single-font macro in the tag fails to format correctly Example: .TH TP-bug 1 2024-05-19 testen .SH NAME testman \- test some macros .PP 1) .TP .B \-\-\~\c .RI [ args ] .PP 2) .TP .B X\~\c .RI A Z B .PP 3) .TP .BR X \~A\c .IR Z B .PP 4) .TP .BR \-\-\~ [\c .IR args ] . .pl \n[nl]u -.- Result: TP-bug(1) General Commands Manual TP-bug(1) NAME testman - test some macros 1) -- [args] 2) X AZB 3) X AZB 4) -- [args] testen 2024-05-19 TP-bug(1) -.- The '[args]' is not part of the tag! If '.B ' is replaced with '\fB' then it works correctly. If the first tag line uses a _two-fonts_ macro and a '\c', it is processed correctly (at least in the above example). _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?65761> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/