gbranden pushed a commit to branch master
in repository groff.
commit 5c30f26733baf4c2fae85e0280fdaa91127337c0
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jul 10 03:23:49 2026 -0500
tmac/s.tmac: Trivially refactor.
* tmac/s.tmac: Rename `gottitle*pdf` register to `cov*got-title` to
situate it within a documented groff ms name space.
---
ChangeLog | 6 ++++++
tmac/s.tmac | 6 +++---
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 018b2e38a..a671e8cf1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2026-07-10 G. Branden Robinson <[email protected]>
+
+ * tmac/s.tmac: Trivially refactor. Rename `gottitle*pdf`
+ register to `cov*got-title` to situate it within a documented
+ groff ms name space.
+
2026-07-10 G. Branden Robinson <[email protected]>
* tmac/s.tmac (RP): When formatting with PDF features, assign
diff --git a/tmac/s.tmac b/tmac/s.tmac
index 22b4cfa71..5a1476691 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -107,7 +107,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
.ds spdf:txt_default see: +
.if \n[PDFFEAT]=1 \{\
.nr PDFHREF.VIEW.LEADING 10.0p
-.nr gottitle*pdf 0
+.nr cov*got-title 0
.ds pdf:curcol default
.\}
.
@@ -331,7 +331,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
. if \\n[cov*rp-no-repeat-info]=1 .nr cov*pdf 1
. pdfpagename title
. pdfpagenumbering Decimal T-
-. nr gottitle*pdf 1
+. nr cov*got-title 1
.
.\}
..
@@ -2061,7 +2061,7 @@ along with this program. If not, see
<http://www.gnu.org/licenses/>.
..
.\" print the table of contents on page i
.de TC
-. if \\n[PDFFEAT]=1 .if \\n[gottitle*pdf] .pdfswitchtopage after title
+. if \\n[PDFFEAT]=1 .if \\n[cov*got-title] .pdfswitchtopage after title
.P1
.pg@begin 1 i
.PX \\$1
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit