bug-groff
[Top][All Lists]
Advanced

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

[bug #65717] tmac/andoc.tmac is not protected against compatibility mode


From: Bjarni Ingi Gislason
Subject: [bug #65717] tmac/andoc.tmac is not protected against compatibility mode
Date: Thu, 9 May 2024 12:54:36 -0400 (EDT)

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

                 Summary: tmac/andoc.tmac is not protected against
compatibility mode
                   Group: GNU roff
               Submitter: bjarniig
               Submitted: Thu 09 May 2024 04:54:35 PM UTC
                Category: Macro package mdoc
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 09 May 2024 04:54:35 PM UTC By: Bjarni Ingi Gislason <bjarniig>
Subject: tmac/andoc.tmac is not protected against compatibility
mode

  A test for showing a macro file not being protected against
compatibility mode is

test-nroff -mandoc -t -ww -z -C tmac/groff_mdoc.7

  where 'test-nroff' can be created with a script

#!/usr/bin/sh
export GROFF_TEST_GROFF=<path to 'test-groff'>
nroff $*
exit

cd groff/build/tmac

test-nroff -mandoc -t -ww -z -C groff_mdoc.7

  Result:

troff: warning: macro 'c-check-depth' not defined
troff: warning: register '[' not defined
troff: warning: expected numeric expression, got character 'c'
troff: warning: macro 'c-break-page-with-new-number' not defined

N.B.
  File name and line number are missing from the warnings!








    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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