gbranden pushed a commit to branch master
in repository groff.
commit cd7da50a35ab769c62003b64bf16765c2b2c50b6
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Aug 11 13:42:58 2025 -0500
tmac/s.tmac: Trivially refactor (3/4).
* tmac/s.tmac (tbl@top-hook, TH): Rename register `tbl*header-ht` to
`tbl*heading-height`.
---
ChangeLog | 2 ++
tmac/s.tmac | 4 ++--
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 9399de303..62fe0e31b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,8 @@
`tbl*header-div` to `tbl*heading-diversion`.
([initialization], tbl@top-hook, TH, TE, tbl@bottom-hook):
Rename register `tbl*have-header` to `tbl*has-heading`.
+ (tbl@top-hook, TH): Rename register `tbl*header-ht` to
+ `tbl*heading-height`.
2025-08-11 G. Branden Robinson <[email protected]>
diff --git a/tmac/s.tmac b/tmac/s.tmac
index cc0b15940..7ec49dc7c 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -2030,7 +2030,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
..
.de tbl@top-hook
.if \\n[tbl*has-heading] \{\
-. ie \\n[.t]-\\n[tbl*header-ht]-1v .tbl*print-header
+. ie \\n[.t]-\\n[tbl*heading-height]-1v .tbl*print-header
. el .sp \\n[.t]u
.\}
..
@@ -2057,7 +2057,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
. tbl*print-header
. \}
. el \{\
-. nr tbl*header-ht \\n[dn]
+. nr tbl*heading-height \\n[dn]
. ds@need \\n[dn]u+1v
. tbl*print-header
. nr tbl*has-heading 1
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit