bug-groff
[Top][All Lists]
Advanced

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

[bug #59384] ms: doesn't warn about repeated .TL macros as it should


From: G. Branden Robinson
Subject: [bug #59384] ms: doesn't warn about repeated .TL macros as it should
Date: Fri, 30 Oct 2020 08:12:49 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0

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

                 Summary: ms: doesn't warn about repeated .TL macros as it
should
                 Project: GNU troff
            Submitted by: gbranden
            Submitted on: Fri 30 Oct 2020 12:12:47 PM UTC
                Category: Macro - ms
                Severity: 2 - Minor
              Item Group: Warning/Suspicious behaviour
                  Status: None
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None

    _______________________________________________________

Details:

The source code says this:


.de TL
.br
.als TL cov*err-not-again
.rn @AB AB
.rn @AU AU
.rn @AI AI
.di cov*tl-div
.par@reset
.ft B
.ps +2
.vs +3p
.ll (u;\\n[LL]*5/6)
.nr cov*n-au 0
.DEVTAG-TL
..


You would therefore think that a document like this would provoke the
'cov*err-not-again' macro:


.PP
First paragraph.
.TL
A Title
.PP
Next paragraph.
.TL
Another Title
.PP
Third paragraph.
.TL
Third Title
.PP
Fourth paragraph.


...but this renders without warnings.  Any user stumbling across this might be
tempted to abuse .TL as a sort of sectioning macro.

AT&T ms behavior should be checked.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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