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

                 Summary: [mdoc] "HYPHEN-MINUS" is rendered as a hyphen when
used with an option string in troff-mode
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Fri 02 Jan 2026 10:58:44 AM UTC
                Category: Macro package mdoc
                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: Fri 02 Jan 2026 10:58:44 AM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: [mdoc] "HYPHEN-MINUS" is rendered as a hyphen when used with an
option string in troff-mode

  An example is in the manual "sudo.8" (version 1.9.17p2-1 (Debian
testing)).

.It Fl A , -askpass

The code produced is:

C\-
h5700
tA
f5
t,
wf38
h4166
C\-
h5700
t-askpass

  The mandoc (Debian 1.14.6-4) program outputs only hyphens with the
'-Tps' and '-Tpdf' option (Debian bug #1124512).









    _______________________________________________________

Reply to this item at:

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

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


Reply via email to