diff options
author | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-12-11 11:56:42 -0600 |
---|---|---|
committer | G. Branden Robinson <g.branden.robinson@gmail.com> | 2022-12-12 18:16:08 -0600 |
commit | 6deb61bfb5fbd6ed2495ce76a120d047e08655df (patch) | |
tree | 9a2e37434a78f04c048a644982460256a2a33340 /tmac/mdoc | |
parent | 0e298fef19e8517119d82fd18126aa68f31453dc (diff) | |
download | groff-git-6deb61bfb5fbd6ed2495ce76a120d047e08655df.tar.gz |
[man, mdoc]: Refactor (3/4).
[man, mdoc]: Trivially refactor.
* tmac/an.tmac (an-start-new-document): Rename this...
(an*break-page-with-new-number): ...to reflect its reduced
responsibility.
* tmac/mdoc/doc-common (doc-start-new-document): Rename this...
(doc-break-page-with-new-number): ...to reflect its reduced
responsibility.
Diffstat (limited to 'tmac/mdoc')
-rw-r--r-- | tmac/mdoc/doc-common | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tmac/mdoc/doc-common b/tmac/mdoc/doc-common index eb32bec77..c757b387c 100644 --- a/tmac/mdoc/doc-common +++ b/tmac/mdoc/doc-common @@ -298,7 +298,7 @@ . \" Clear the page header trap so it is not sprung with stale . \" information. . ch doc-header -. doc-start-new-document +. doc-break-page-with-new-number . nr doc-is-first-page-of-document 1 . \} . @@ -1149,12 +1149,12 @@ .ec . . -.\" NS doc-start-new-document macro -.\" NS Update the page number depending on the C (consecutive -.\" NS numbering) register. +.\" NS doc-break-page-with-new-number macro +.\" NS Break the page and update its number depending on the C +.\" NS (consecutive numbering) register. . .eo -.de doc-start-new-document +.de doc-break-page-with-new-number . ie \n[C] .bp (\n[%] + 1) \" argument NOT redundant before page 1 . el .bp 1 .. |