bug-groff
[Top][All Lists]
Advanced

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

[bug #66174] [mdoc] wrong interpretation of '.Bl ... -width "long string


From: Bjarni Ingi Gislason
Subject: [bug #66174] [mdoc] wrong interpretation of '.Bl ... -width "long string"'
Date: Thu, 5 Sep 2024 13:53:22 -0400 (EDT)

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

                 Summary: [mdoc] wrong interpretation of '.Bl ... -width "long
string"'
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Thu 05 Sep 2024 05:53:07 PM UTC
                Category: Macro package mdoc
                Severity: 3 - Normal
              Item Group: Warning/Suspicious behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 05 Sep 2024 05:53:07 PM UTC By: Bjarni Ingi Gislason <bjarniig>
 Subject: [mdoc] wrong interpretation of '".Bl ... -width "long string"' 

  Example (with a modified file '~/.manpath' and environmental variables
"MAN..."):

N.B.  Stripped 'doc.tmac' used.

"man erb3.1 > /dev/null" shows

troff: backtrace: '/home/bg/git/groff/build/s-tmac/doc.tmac':1803: macro
'doc-do-Bl-args'
troff: backtrace: '/home/bg/git/groff/build/s-tmac/doc.tmac':1715: macro 'Bl'
troff: backtrace: file '<standard input>':34
troff:<standard input>:34: warning: integer value saturated
troff: backtrace: '/home/bg/git/groff/build/s-tmac/doc.tmac':1804: macro
'doc-do-Bl-args'
troff: backtrace: '/home/bg/git/groff/build/s-tmac/doc.tmac':1715: macro 'Bl'
troff: backtrace: file '<standard input>':34
troff:<standard input>:34: warning: integer value saturated
troff: backtrace: '/home/bg/git/groff/build/s-tmac/doc.tmac':1811: macro
'doc-do-Bl-args'
troff: backtrace: '/home/bg/git/groff/build/s-tmac/doc.tmac':1715: macro 'Bl'
troff: backtrace: file '<standard input>':34
troff:<standard input>:34: warning: integer value saturated
....

  Line 34 is:

.Bl -tag -width "1234567890123" -compact

-.-

  File is in the Debian package "ruby3.1" (and ruby3.3).

  Changes to '~/.manpath' are:

DEFINE  troff test-groff -b -ww -s -mandoc -rCHECKSTYLE=5 -dpaper=a4 -K utf8
-fU-T
DEFINE  nroff test-nroff -b -ww -s -mandoc -rCHECKSTYLE=0

  Environmental variables:

MANOPT=-E latin1
MANROFFOPT=-rF=0 -dAD=l -rHY=0 -dMF=R -rLL=80m -rLT=80m
MAN_KEEP_STDERR=yes
 
N.B.  What integer's value is saturated? (the name of the integer variable?)








    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature


reply via email to

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