bug-groff
[Top][All Lists]
Advanced

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

[bug #63398] [mm] mmse.tmac makes footer malfunction when footnote used


From: G. Branden Robinson
Subject: [bug #63398] [mm] mmse.tmac makes footer malfunction when footnote used
Date: Mon, 21 Nov 2022 23:51:23 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?63398>

                 Summary: [mm] mmse.tmac makes footer malfunction when
footnote used
                 Project: GNU troff
               Submitter: gbranden
               Submitted: Tue 22 Nov 2022 04:51:21 AM UTC
                Category: Macro mm
                Severity: 3 - Normal
              Item Group: Incorrect behaviour
                  Status: In Progress
                 Privacy: Public
             Assigned to: gbranden
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 22 Nov 2022 04:51:21 AM UTC By: G. Branden Robinson <gbranden>
Hans Bezemer reported an input stack overflow while processing the page footer
when using the mmse.tmac localization file for Swedish.

(The formatter exits in a controlled way; this stack is not the execution
stack employed by the OS process.  It would be an infinite loop if the
`slimit` register of GNU troff were not set to a small finite value.)

https://lists.gnu.org/archive/html/groff/2022-11/msg00137.html

The problem is a missing scaling indicator in the macro file.


diff --git a/contrib/mm/mse.tmac b/contrib/mm/mse.tmac
index dedfb10bb..8184b1434 100644
--- a/contrib/mm/mse.tmac
+++ b/contrib/mm/mse.tmac
@@ -43,7 +43,7 @@ http://savannah.gnu.org/bugs/?group=groff.
 .po \n[@po]u
 .pl \n[@pl]u
 .
-.nr pg*footer-size 4\"                  1v+footer+even/odd footer+1v
+.nr pg*footer-size 4v\"                  1v+footer+even/odd footer+1v
 .\"------------------------------------------------
 .\" Dokumentnamn
 .ds LetDNAMN


Problem affects groff 1.22.4 and appears to date back 22 years, to the
introduction of the file.  That's a DNAMN long time!







    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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