[bug #68537] [ms] automatically numbered footnotes don't work in tbl(1) tables

"G. Branden Robinson" <[email protected]> Fri, 17 Jul 2026 17:37:50 -0400 (EDT)
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
URL:
  <https://savannah.gnu.org/bugs/?68537>

                 Summary: [ms] automatically numbered footnotes don't work in
tbl(1) tables
                   Group: GNU roff
               Submitter: gbranden
               Submitted: Fri 17 Jul 2026 09:37:44 PM UTC
                Category: Macro package ms
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Unlocked
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 17 Jul 2026 09:37:44 PM UTC By: G. Branden Robinson <gbranden>
Spawned off of bug #68354, mentioned in a comment by Bjarni.

Nobody gets this right.


$ cat ATTIC/automatic-number-footnote-mark-in-table.ms
.LP
This is my
.I ms
document.
.TS
L.
foo\**
.TE
.FS
Bar.
.FE
$ heirloom tbl ATTIC/automatic-number-footnote-mark-in-table.ms | heirloom
nroff -ms | cat -s

This is my ms document.

foo[2]

 _________________________
   [2] Bar.

                       July 17, 2026

$ solaris10 tbl ATTIC/automatic-number-footnote-mark-in-table.ms | solaris10
nroff -ms | cat -s

This is my ms document.

foo[2]

 _________________________
   [2] Bar.

                       July 17, 2026

$ dwb tbl ATTIC/automatic-number-footnote-mark-in-table.ms | dwb nroff -ms |
cat -s

This is my  ms document.

foo

__________________________
Bar.

                       July 17, 2026

$ 9 tbl ATTIC/automatic-number-footnote-mark-in-table.ms | 9 nroff -ms | cat
-s

This is my  ms document.

foo

__________________________
Bar.

                       July 17, 2026

$ nroff -t -ms ATTIC/automatic-number-footnote-mark-in-table.ms | cat -s

This is my ms document.

foo[2]

───────────
  [1] Bar.



It looks like Deri may have a simple fix (see aforementioned bug).  Confirm
and land for groff 1.25 if so.







    _______________________________________________________

Reply to this item at:

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

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc (application/pgp-signature, 228 B)
-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalqgrgAKCRCqLAuaBUf3
TnbVAP93LFKOO7L43npVqIAwR7RDdC44ESmsr63eUKqT+a7nhQD+NIi6eQHSZaDg
yKd8wlvyWbKCWhRz4SAW5nPmjCpnhAs=
=zpmX
-----END PGP SIGNATURE-----