gbranden pushed a commit to branch master
in repository groff.
commit 2c9a5154e57b1df5c4f45d569c2047a5e05c348b
Author: G. Branden Robinson <[email protected]>
AuthorDate: Wed Aug 27 18:36:40 2025 -0500
[mm]: Rename `Capcon` to `Captc`.
* contrib/mm/m.tmac: Rename API string `Capcon` (formerly `Licon`) to
`Captc` to align with the naming convention used by `Capec`, `Capex`,
`Capfg`, and `Captb`; the "Cap" ("caption") prefix is followed by the
downcased name of the macro that interpolates the caption.
* contrib/mm/groff_mm.7.man (Macros <TC>, Strings): Document it.
* NEWS: Update item.
---
NEWS | 2 +-
contrib/mm/ChangeLog | 9 +++++++++
contrib/mm/groff_mm.7.man | 4 ++--
contrib/mm/m.tmac | 4 ++--
4 files changed, 14 insertions(+), 5 deletions(-)
diff --git a/NEWS b/NEWS
index e1131a576..85559c61b 100644
--- a/NEWS
+++ b/NEWS
@@ -653,7 +653,7 @@ Macro packages
* The m (mm) macro package has renamed several strings to make their
purposes less obscure; they determine the content of captions, not
list items.
- `Licon` -> `Capcon`
+ `Licon` -> `Captc`
`Liec` -> `Capec`
`Liex` -> `Capex`
`Lifg` -> `Capfg`
diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index dc748514f..e6ed79ccf 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,12 @@
+2025-08-27 G. Branden Robinson <[email protected]>
+
+ * m.tmac: Rename API string `Capcon` (formerly `Licon`) to
+ `Captc` to align with the naming convention used by `Capec`,
+ `Capex`, `Capfg`, and `Captb`; the "Cap" ("caption") prefix is
+ followed by the downcased name of the macro that interpolates
+ the caption.
+ * groff_mm.7.man (Strings): Document it.
+
2025-08-14 G. Branden Robinson <[email protected]>
* m.tmac: Add new aliases `Ftnum` and `Rfnum` for the internal
diff --git a/contrib/mm/groff_mm.7.man b/contrib/mm/groff_mm.7.man
index 2bd7d88c6..3b90fdede 100644
--- a/contrib/mm/groff_mm.7.man
+++ b/contrib/mm/groff_mm.7.man
@@ -3749,7 +3749,7 @@ calls
.
It then begins a new page with the contents caption,
stored in the string
-.BR Capcon ,
+.BR Captc ,
centered at the top.
.
The entries follow after three vees of space.
@@ -4232,7 +4232,7 @@ interpolates a bullet mark,
.
.
.TP
-.B Capcon
+.B Captc
\[lq]CONTENTS\[rq]
.
.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index afe68aeca..9ec52d28f 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -343,9 +343,9 @@ http://savannah.gnu.org/bugs/?group=groff.
.ds Capfg Figure
.ds Captb Table
.\" caption for the table of contents
-.ds Capcon CONTENTS
+.ds Captc CONTENTS
.\" aliases for groff <= 1.23 compatibility
-.als Licon Capcon
+.als Licon Captc
.als Liec Capec
.als Liex Capex
.als Lifg Capfg
_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit