gbranden pushed a commit to branch master
in repository groff.

commit 34b430688d6effe822278cee44e13a7309e58786
Author: G. Branden Robinson <[email protected]>
AuthorDate: Tue Mar 31 04:02:08 2026 -0500

    tmac/an.tmac: Fix `reg` warning.
    
    * tmac/an.tmac: Ensure that the register `an-remap-I-style-in-headings`
      is always defined.  Fixes `reg` warning when user employs `HF` string
      to configure an unusual heading font (one that isn't bold, or isn't a
      member of a family).
---
 ChangeLog    | 8 ++++++++
 tmac/an.tmac | 1 +
 2 files changed, 9 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index ad4275aa3..bc766c5f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2026-03-31  G. Branden Robinson <[email protected]>
+
+       * tmac/an.tmac: Ensure that the register
+       `an-remap-I-style-in-headings` is always defined.  Fixes `reg`
+       warning when user employs `HF` string to configure an unusual
+       heading font (one that isn't bold, or isn't a member of a
+       family).
+
 2026-03-30  G. Branden Robinson <[email protected]>
 
        * src/libs/libgroff/relocate.cpp (set_current_prefix): Move call
diff --git a/tmac/an.tmac b/tmac/an.tmac
index 9a885b120..f3a043d01 100644
--- a/tmac/an.tmac
+++ b/tmac/an.tmac
@@ -1771,6 +1771,7 @@ contains unsupported escape sequence
 .  as an-heading-family \*[HF]\"
 .  substring an-heading-family 0 -2
 .\}
+.nr an-remap-I-style-in-headings 0
 .if '\*[an-heading-style]'B' \
 .  if F \*[an-heading-family]BI \
 .    nr an-remap-I-style-in-headings 1

_______________________________________________
groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to