gbranden pushed a commit to branch master
in repository groff.

commit 97b5cfc95aef0f2a94a1354142062cd86c0df58d
Author: G. Branden Robinson <[email protected]>
AuthorDate: Fri Jul 10 03:21:52 2026 -0500

    [ms]: Use "T-1" as cover page number in PDF.
    
    * tmac/s.tmac (RP): When formatting with PDF features, assign the cover
      page a page number starting with "T-" to avoid collision with page 1
      of the main matter.  This is a quality-of-life improvement when using
      PDF viewer applications, and the sequence "T-1", "T-2", ..., appears
      to be the convention in the PDF world for numbering pages prior to
      front matter numbered with lowercase Roman numerals.
---
 ChangeLog   | 10 ++++++++++
 tmac/s.tmac |  1 +
 2 files changed, 11 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index d76043fb5..018b2e38a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2026-07-10  G. Branden Robinson <[email protected]>
+
+       * tmac/s.tmac (RP): When formatting with PDF features, assign
+       the cover page a page number starting with "T-" to avoid
+       collision with page 1 of the main matter.  This is a
+       quality-of-life improvement when using PDF viewer applications,
+       and the sequence "T-1", "T-2", ..., appears to be the convention
+       in the PDF world for numbering pages prior to front matter
+       numbered with lowercase Roman numerals.
+
 2026-07-09  G. Branden Robinson <[email protected]>
 
        * tmac/s.tmac (cov*tl-au-print, ID, par@reset, par@TL, par@AU)
diff --git a/tmac/s.tmac b/tmac/s.tmac
index f09caad77..22b4cfa71 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -330,6 +330,7 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 .if \\n[PDFFEAT]=1 \{\
 .  if \\n[cov*rp-no-repeat-info]=1 .nr cov*pdf 1
 .  pdfpagename title
+.  pdfpagenumbering Decimal T-
 .  nr gottitle*pdf 1
 .
 .\}

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to