gbranden pushed a commit to branch master
in repository groff.
commit d4bcb8546a2a84c07d792e6f8be409ab30a514e3
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Aug 11 13:36:27 2025 -0500
tmac/s.tmac: Trivially refactor (1/4).
* tmac/s.tmac (@TS, tbl*print-header, TH, TE): Rename diversion
`tbl*header-div` to `tbl*heading-diversion`.
---
ChangeLog | 6 ++++++
tmac/s.tmac | 11 ++++++-----
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index d7b44b8bd..a95574081 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-08-11 G. Branden Robinson <[email protected]>
+
+ * tmac/s.tmac: Trivially refactor.
+ (@TS, tbl*print-header, TH, TE): Rename diversion
+ `tbl*header-div` to `tbl*heading-diversion`.
+
2025-08-11 G. Branden Robinson <[email protected]>
* doc/groff.texi.in (Page Geometry):
diff --git a/tmac/s.tmac b/tmac/s.tmac
index a282fdabd..9f2e0d31d 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -2020,7 +2020,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
. el .if '\\n[.z]'kp@fdiv' \
. @warning \\*[tbl*stem] .KF/.KE floating keep
. rm tbl*stem
-. di tbl*header-div
+. di tbl*heading-diversion
.\}
.if '\*(.T'html' \{\
. nr tbl*ll \\n[.l]
@@ -2036,12 +2036,12 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
..
.de tbl*print-header
.ev nf
-.tbl*header-div
+.tbl*heading-diversion
.ev
.mk #T
..
.de TH
-.ie '\\n[.z]'tbl*header-div' \{\
+.ie '\\n[.z]'tbl*heading-diversion' \{\
. nr T. 0
. T#
. br
@@ -2065,12 +2065,13 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.\}
.el .@error-recover .TH without .TS H
..
-.de @div-end!tbl*header-div
+.de @div-end!tbl*heading-diversion
.TH
.TE
..
.de TE
-.ie '\\n(.z'tbl*header-div' .@error-recover .TS H but no .TH before .TE
+.ie '\\n(.z'tbl*heading-diversion' \
+. @error-recover .TS H but no .TH before .TE
.el \{\
. nr tbl*have-header 0
. if !'\*(.T'html' \{\
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit