gbranden pushed a commit to branch master
in repository groff.
commit e071d179d0fa9ca50b562881fa577726dc279bf7
Author: G. Branden Robinson <[email protected]>
AuthorDate: Thu Aug 7 05:41:14 2025 -0500
doc/ms.ms.in: Reformat nroff-mode page headers.
* doc/ms.ms.in: Stop distinguishing recto and verso pages; if formatting
in nroff mode, we're likely going to a video terminal (or emulator).
---
ChangeLog | 6 ++++++
doc/ms.ms.in | 17 +++++++++++++----
2 files changed, 19 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index b6afa03d4..98c2bb87f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2025-08-07 G. Branden Robinson <[email protected]>
+
+ * doc/ms.ms.in: Reformat nroff-mode page headers. Stop
+ distinguishing recto and verso pages; if formatting in nroff
+ mode, we're likely going to a video terminal (or emulator).
+
2025-08-07 G. Branden Robinson <[email protected]>
* doc/ms.ms.in: Report groff version in page footers.
diff --git a/doc/ms.ms.in b/doc/ms.ms.in
index e10d4be0e..56e32088f 100644
--- a/doc/ms.ms.in
+++ b/doc/ms.ms.in
@@ -39,12 +39,21 @@
.nr VS 13
.ds FR 1
.nr TC-MARGIN \w'00' \" expect 2-digit page numbers at most
-.ie t .nr PI 3.5n
-.el .nr PI 4n
+.ds header-title Using \f[I]groff\f[] with the \f[I]ms\f[] macros\"
.ds date July 2025\"
.ND \*[date]
-.EH '%''\*[date]'
-.OH 'Using \f[I]groff\f[] with the \f[I]ms\f[] macros''%'
+.ds CH \" empty
+.ie t \{\
+. nr PI 3.5n
+. EH '%''\*[date]'
+. OH '\*[header-title]''%'
+.\}
+.el \{\
+. nr PI 4n
+. ds LH \*[date]\"
+. ds CH \*[header-title]\"
+. ds RH \\n[%]\"
+.\}
.ds CF groff @VERSION@\"
.TL
Using
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit