gbranden pushed a commit to branch master
in repository groff.
commit 245895d1e023ea13361d96f4932665032383974e
Author: G. Branden Robinson <[email protected]>
AuthorDate: Mon Jul 25 13:43:23 2022 -0500
tmac/e.tmac: Fix Savannah #62812.
* tmac/e.tmac: Initialize section number registers. Fixes warnings when
starting section numbering at a depth greater than 1.
Fixes <https://savannah.gnu.org/bugs/?62812>.
---
ChangeLog | 8 ++++++++
tmac/e.tmac | 6 ++++++
2 files changed, 14 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index cc545ea5d..098c07201 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,14 @@
greek characters only slant if the glyp is sourced from a
special font, not if the regular font contains greek glyphs.
+2022-07-25 G. Branden Robinson <[email protected]>
+
+ * tmac/e.tmac: Initialize section number registers. Fixes
+ warnings when starting section numbering at a depth greater than
+ 1.
+
+ Fixes <https://savannah.gnu.org/bugs/?62812>.
+
2022-07-23 G. Branden Robinson <[email protected]>
* m4/groff.m4 (GROFF_PAGE): Use 'grep -q' instead of redirecting
diff --git a/tmac/e.tmac b/tmac/e.tmac
index 605c32018..14ea47593 100644
--- a/tmac/e.tmac
+++ b/tmac/e.tmac
@@ -2116,6 +2116,12 @@
.
.@R po\" \" simulated page offset
.@R $0\" \" section depth
+.@R $1\" \" section numbers a.b.c.d.e.f
+.@R $2\"
+.@R $3\"
+.@R $4\"
+.@R $5\"
+.@R $6\"
.@R $i\" \" paragraph base indent
.@R $p\" \" numbered paragraph number
.\" [Before groff 1.06] the groff -me macros treated the $r and $R
_______________________________________________
Groff-commit mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/groff-commit