summaryrefslogtreecommitdiff
path: root/tmac
diff options
context:
space:
mode:
authorG. Branden Robinson <g.branden.robinson@gmail.com>2023-04-05 07:08:16 -0500
committerG. Branden Robinson <g.branden.robinson@gmail.com>2023-04-09 11:25:28 -0500
commit93a08f4dc12693179ec86f2e81d3f8852b737cc7 (patch)
treead6b68e2d41c42df6b79b4dba2c1308810304bc7 /tmac
parent77631690a8ae25ca77477a8b3cdd08180b0d17d3 (diff)
downloadgroff-git-93a08f4dc12693179ec86f2e81d3f8852b737cc7.tar.gz
[docs]: Update discussion of ms page titles.
* Mention the special behavior of the % character in titles. * Characterize traps as a formatter feature.
Diffstat (limited to 'tmac')
-rw-r--r--tmac/groff_ms.7.man18
1 files changed, 11 insertions, 7 deletions
diff --git a/tmac/groff_ms.7.man b/tmac/groff_ms.7.man
index 01afe61c7..64d4ad7e8 100644
--- a/tmac/groff_ms.7.man
+++ b/tmac/groff_ms.7.man
@@ -1891,9 +1891,14 @@ macros define footers for them.
.
.
.P
+With either method,
+a percent sign
+.B %
+in header or footer text is replaced by the current page number.
+.
By default,
.I ms
-places no header on any page numbered \[lq]1\[rq]
+places no header on a page numbered \[lq]1\[rq]
(regardless of its number format).
.
.
@@ -1911,11 +1916,8 @@ This is a Berkeley extension.
.P
For even greater flexibility,
.I ms
-is designed to permit the redefinition of the macros that are called
-when the
-.I groff
-traps that ordinarily cause the headers and footers to be output are
-sprung.
+permits redefinition of the macros called when the page header and
+footer traps are sprung.
.
.B PT
(\[lq]page trap\[rq])
@@ -1927,7 +1929,9 @@ and
(\[lq]bottom trap\[rq])
when the footer is to be.
.
-The page location trap that
+The
+.I groff
+page location trap that
.I ms
sets up to format the header also calls the
(normally undefined)