bug-groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #62825] Incorrect section number using \*($n in a header


From: G. Branden Robinson
Subject: [bug #62825] Incorrect section number using \*($n in a header
Date: Wed, 27 Jul 2022 16:24:03 -0400 (EDT)

Update of bug #62825 (project groff):

                  Status:                    None => Duplicate              
             Assigned to:                    None => gbranden               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

This is already been filed and a fix is pending.


commit 8d63b606569646b90122956880bebc85d2d225ff
Author:     G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Mon Jul 25 13:43:23 2022 -0500
Commit:     G. Branden Robinson <g.branden.robinson@gmail.com>
CommitDate: 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>.

diff --git a/ChangeLog b/ChangeLog
index 7b8a50953..2e300bf42 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2022-07-25  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * 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 <g.branden.robinson@gmail.com>
 
        * 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


Closing as duplicate of bug #62812.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62825>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]