[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #61379] [tmac] Detect use of preprocessor "tbl" and "table wider th
From: |
G. Branden Robinson |
Subject: |
[bug #61379] [tmac] Detect use of preprocessor "tbl" and "table wider than line" |
Date: |
Thu, 28 Oct 2021 22:42:31 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0 |
Update of bug #61379 (project groff):
Summary: [*.tmac] Detect use of preprocessor "tbl" and "table
wider than line" => [tmac] Detect use of preprocessor "tbl" and "table wider
than line"
_______________________________________________________
Follow-up Comment #2:
Some progress.
commit 80ee140eb0616b794b853bbad623263cbea06abc
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
Date: Thu Oct 28 15:14:48 2021 +1100
[man]: Warn if `TE` called but \n[TW] undefined.
[man]: Warn if `TE` table macro but `TW` register (set by tbl(1))
undefined. Arrange it so that we warn only once per man(7) document,
not per table.
* tmac/an.tmac (TH): Remove `TW` register when processing new document
and clear `an-was-tbl-failure-reported` register.
(TE): Check `TW` and `an-was-tbl-failure-reported` registers; if the
former is undefined and the latter false, emit the message and set
`an-was-tbl-failure-reported`.
Addresses part of <https://savannah.gnu.org/bugs/?61379>. Thanks to
Bjarni Ingi Gislason for the suggestion.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?61379>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/