bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: G. Branden Robinson
Subject: [bug #63672] [mdoc] list macros measure "called" width of Bt, Ud
Date: Mon, 16 Jan 2023 11:25:11 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63672>

                 Summary: [mdoc] list macros measure "called" width of Bt, Ud
                 Project: GNU troff
               Submitter: 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
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 16 Jan 2023 04:25:08 PM UTC By: G. Branden Robinson <gbranden>
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








    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63672>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]