Follow-up Comment #4, bug #67418 (group groff):

At 2025-08-13T17:00:44-0400, Bjarni Ingi Gislason wrote:
> Follow-up Comment #3, bug #67418 (group groff):
>
> The macro packages "ms" and "hdtbl" are not compatible as they have
> the same name (TH) for different macros.

That's a hasty conclusion.

`TH` is also defined by man(7), mm(7), me(7), and mom(7).

Your observation doesn't adequately explain why Morten is having trouble
with the `ms` package but not other full-service macro packages.

> The macro TH is used in ms.ms.

Recall tbl(1):


     Multi‐page tables, if boxed and/or if you want their column
     headings repeated after page breaks, require support at the time
     the document is formatted.  A convention for such support has
     arisen in macro packages such as ms, mm, and me.  To use it, follow
     the .TS token with a space and then “H”; this will be interpreted
     by the formatter as a TS macro call with an H argument.  Then,
     within the table data, call the TH macro; this informs the macro
     package where the headings end.  If your table has no such heading
     rows, or you do not desire their repetition, call TH immediately
     after the table format specification.  If a multi‐page table is
     boxed or has repeating column headings, do not enclose it with
     keep/release macros, or divert it in any other way.


> It is defined in s.tmac and htbl.tmac.

That seems to be unfortunate collision under the circumstances.



    _______________________________________________________

Reply to this item at:

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

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

Attachment: signature.asc
Description: PGP signature

Reply via email to