bugGNU roff - Bugs: bug #63672, [mdoc] list macros measure...

 
 

bug #63672: [mdoc] list macros measure "called" width of Bt, Ud

Submitter:  G. Branden Robinson <gbranden>
Submitted:  Mon 16 Jan 2023 04:25:08 PM UTC
   
 
Category:  Macro mdoc Severity:  3 - Normal
Item Group:  Incorrect behaviour Status:  Confirmed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 16 Jan 2023 04:25:08 PM UTC, original submission:  

Affects groff 1.22.4.

Input:


$ cat EXPERIMENTS/Bt_Ud.mdoc
.Dd 2023-01-16
.Dt foo 1
.Os "groff test suite"
.Sh Name
.Nm foo
.Nd frobnicate a bar
.Sh Description
.Bl -tag -width .Bt -offset indent
.It Li .Bt
\[->]
.Bt
.El
.Bl -tag -width .Ud -offset indent
.It Li .Ud
\[->]
.Ud
.El


Output:


$ nroff -mdoc EXPERIMENTS/Bt_Ud.mdoc | cat -s
mdoc warning: Empty input line #34

Name
     foo — frobnicate a bar

Description
           .Bt                         → is currently in beta test.

           .Ud                           → currently under development.


(The warning is an unrelated bug, fixed in groff Git.  So are the missing header and footer.)

mandoc(1) output suggests that this weird behavior is not intentional.


$ mandoc EXPERIMENTS/Bt_Ud.mdoc
foo(1)                      General Commands Manual                     foo(1)

Name
     foo – frobnicate a bar

Description
           .Bt  → is currently in beta test.

           .Ud  → currently under development.

groff test suite                  2023-01-16                  groff test suite


G. Branden Robinson <gbranden>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

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 (Submitted 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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code