[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 20/25: [mm]: Rename `Rpe` register to `Rpej`.
From: |
G. Branden Robinson |
Subject: |
[groff] 20/25: [mm]: Rename `Rpe` register to `Rpej`. |
Date: |
Tue, 29 Oct 2024 02:26:06 -0400 (EDT) |
gbranden pushed a commit to branch master
in repository groff.
commit 5fbca42db329306309b74a0d030a83710c781031
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Oct 28 10:59:28 2024 -0500
[mm]: Rename `Rpe` register to `Rpej`.
* contrib/mm/m.tmac ([initialization], RP): Rename `Rpe` register to
`Rpej`, for better symmetry with `Ej` register. Retain `Rpe` as an
undocumented alias.
* contrib/mm/groff_mm.7.man (Macros) <RP>:
(Registers) <Rpej>: Document under new name.
* NEWS: Add item.
---
NEWS | 3 +++
contrib/mm/ChangeLog | 9 +++++++++
contrib/mm/groff_mm.7.man | 5 ++---
contrib/mm/m.tmac | 5 +++--
4 files changed, 17 insertions(+), 5 deletions(-)
diff --git a/NEWS b/NEWS
index ee4f8a44b..6df0c771b 100644
--- a/NEWS
+++ b/NEWS
@@ -481,6 +481,9 @@ Macro packages
tag/label) in the first, and resets the paragraph counter when the
first- or second-level section heading number increments.
+* The m (mm) macro package's `Rpe` register is now named `Rpej` for
+ better symmetry with `Ej`. The old name remains as an alias.
+
* The s (ms) macro package now sets the vertical spacing register
defaults for normal (`VS`) and footnote (`FVS`) text to 120% of the
type size configured in the `PS` and `FPS` registers, respectively,
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index bb127f2b5..bf151dc06 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,12 @@
+2024-10-28 G. Branden Robinson <g.branden.robinson@gmail.com>
+
+ * m.tmac ([initialization], RP): Rename `Rpe` register to
+ `Rpej`, for better symmetry with `Ej` register. Retain `Rpe` as
+ an undocumented alias.
+
+ * groff_mm.7.man (Macros) <RP>:
+ (Registers) <Rpej>: Document under new name.
+
2024-10-27 G. Branden Robinson <g.branden.robinson@gmail.com>
* m.tmac (VERBON): Improve argument validation. Error out if
diff --git a/contrib/mm/groff_mm.7.man b/contrib/mm/groff_mm.7.man
index 8ef7f933a..db8c71f36 100644
--- a/contrib/mm/groff_mm.7.man
+++ b/contrib/mm/groff_mm.7.man
@@ -3414,7 +3414,7 @@ The reference counter is reset unless the first argument
Normally,
page breaks occur before and after the references are output;
the register
-.B Rpe
+.B Rpej
configures this behavior,
and a second argument overrides its value.
.
@@ -5521,9 +5521,8 @@ may not take effect until the next heading or
paragraphing macro call.
.\" ...and in certain other cases we don't document.
.
.
-.\" XXX: Why is this not named `Rpej`?
.TP
-.B Rpe
+.B Rpej
configures the default page ejection policy for reference pages;
see
.B RP
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 1dd383d87..ff1813f84 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -376,7 +376,8 @@ http://savannah.gnu.org/bugs/?group=groff.
.\" 0 = auto (nroff/troff); 1 = bracket; 2 = superscript; 3 = both
.nr Rfstyle 0
.\" reference list page ejection policy
-.nr Rpe 0
+.nr Rpej 0
+.aln Rpej Rpe \" for groff <= 1.23 compatibility
.\" reference list format (arguments to `LB`)
.ds Rpfmt \\n[Li] 0 1 0 \& 0\"
.\" use section-page page numbering?
@@ -3293,7 +3294,7 @@ exceeds depth of nested lists (\\n[li*lvl])
argument '\\$1' as '1'
.\}
.if \\n[ref*reset-counter] .nr ref*nr 0 1
-.nr ref*i \\n[Rpe]
+.nr ref*i \\n[Rpej]
.if !''\\$2' \{\
. ie \B'\\$2' .nr ref*i \\$2
. el .@warning \\$0: ignoring non-numeric second \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 20/25: [mm]: Rename `Rpe` register to `Rpej`.,
G. Branden Robinson <=