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

Deri James <[email protected]> Fri, 17 Jul 2026 20:17:31 -0400 (EDT)
Newsgroups gmane.comp.printing.groff.bugs
Message-ID <[email protected]>
Update of bug #68537 (group groff):

                  Status:                    None => Unreproducible
             Assigned to:                    None => gbranden

    _______________________________________________________

Follow-up Comment #2:

Sorry Branden can't reproduce.

derij@pip:~/groff-git/groff/build (master) $ git diff
derij@pip:~/groff-git/groff/build (master) $ ./test-groff -t -rLL=80n -ms -T
utf8 -P -c doc/ms.ms > ms.1
derij@pip:~/groff-git/groff/build (master) $ git stash apply
Auto-merging tmac/s.tmac
derij@pip:~/groff-git/groff/build (master *) $ git diff
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 0cedf239d..8370ed4b1 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -864,7 +864,7 @@ along with this program.  If not, see
<http://www.gnu.org/licenses/>.
 .vs \n[fn@sep-dist]u
 .nr fn@sep-dist \n[.v]
 .ev
-.nr fn*text-num 0 1
+.nr fn*text-num 1
 .nr fn*note-num 0 1
 .nr fn*open 0
 .\" Handle initialition tasks deferred until par module is set up.
@@ -884,6 +884,7 @@ along with this program.  If not, see
<http://www.gnu.org/licenses/>.
 .FS-MARK \\$@
 .ie \\n[.$] .fn*do-FS "\\$1" no
 .el \{\
+.       nr fn*text-num +1
 .      ie \\n[fn*text-num]>\\n[fn*note-num] .fn*do-FS \\n+[fn*note-num]
 .      el .fn*do-FS
 .\}
derij@pip:~/groff-git/groff/build (master *) $ ./test-groff -t -rLL=80n -ms -T
utf8 -P -c doc/ms.ms > ms.2
derij@pip:~/groff-git/groff/build (master *) $ diff -U0 ms.[12]

No difference at all.


    _______________________________________________________

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-----

iHUEABYIAB0WIQQk97aszIMMAvLLwm6qLAuaBUf3TgUCalrGGwAKCRCqLAuaBUf3
TqPwAQD/zwASSoKjQIb0sl8Pa4Q+oCZq/U7LprCP+pBSN08gPQEA7QdyF/CcW2Vd
8i43BChiGMEFerjZb4KnsUhQomVs0w8=
=Cy4i
-----END PGP SIGNATURE-----