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 <[email protected]>
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/