Re: [hdtbl] make the "hdtbl" package usable with other macro packages

Bjarni Ingi Gislason <[email protected]> Sun, 21 Jun 2026 00:22:46 +0000
Newsgroups gmane.comp.printing.groff.general
Message-ID <[email protected]>
On Fri, Jun 19, 2026 at 04:41:53PM +0100, Deri wrote:
> On Sunday, 14 June 2026 19:39:24 BST Bjarni Ingi Gislason wrote:
> >   Forgot to add the hdtbl-file to the appendix.
> 
> Hi Bjarni,
> 
> Unfortunately your changes are not backward compatible with any existing 
> documents which use hdtbl. I have posted a patch to:-
> 
> https://savannah.gnu.org/bugs/?67418
> 
> Which (with a few caveats) allows -mhdtbl to be used with -ms or -mm.
> 
> Cheers
> 
> Deri
> 
> 
  I add a file "hdtbl.als.tmac" to the "examples/common.roff" file to make
aliases, like

.\" Macros (TH and TR) are defined in other macro packages
.if !d TH \{\
.  if !d TR \{\
.    als CPTN hd*CPTN
.    als ETB hd*ETB
.    als TBL hd*TBL
.    als TD hd*TD
.    als TH hd*TH
.    als TR hd*TR
.  \}
.\}