groff-commit
[Top][All Lists]
Advanced

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

[groff] 23/23: [ms]: Fix Savannah #66339 (starting doc w/ `DS`).


From: G. Branden Robinson
Subject: [groff] 23/23: [ms]: Fix Savannah #66339 (starting doc w/ `DS`).
Date: Wed, 16 Oct 2024 15:00:31 -0400 (EDT)

gbranden pushed a commit to branch master
in repository groff.

commit 7fbda04469c0581e7d6394291ca3d1c13483c3ed
Author: G. Branden Robinson <g.branden.robinson@gmail.com>
AuthorDate: Wed Oct 16 13:08:39 2024 -0500

    [ms]: Fix Savannah #66339 (starting doc w/ `DS`).
    
    * tmac/s.tmac (DS): Break line unconditionally, ensuring that that the
      top-of-page trap springs even if the document starts with a call of
      this macro.
    
    Fixes <https://savannah.gnu.org/bugs/?66339>.  Thanks to Joerg van den
    Hoff for the report.  Problem introduced by me in commit 1887bbe68c, 5
    November 2021.
---
 ChangeLog   | 10 ++++++++++
 tmac/s.tmac |  1 +
 2 files changed, 11 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 5432724c1..a5802c919 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,13 @@
+2024-10-16  G. Branden Robinson <g.branden.robinson@gmail.com>
+
+       * tmac/s.tmac (DS): Break line unconditionally, ensuring that
+       that the top-of-page trap springs even if the document starts
+       with a call of this macro.
+
+       Fixes <https://savannah.gnu.org/bugs/?66339>.  Thanks to Joerg
+       van den Hoff for the report.  Problem introduced by me in commit
+       1887bbe68c, 5 November 2021.
+
 2024-10-16  G. Branden Robinson <g.branden.robinson@gmail.com>
 
        [ms]: Regression-test Savannah #66339.
diff --git a/tmac/s.tmac b/tmac/s.tmac
index dd682e5b1..adf18e0c7 100644
--- a/tmac/s.tmac
+++ b/tmac/s.tmac
@@ -1071,6 +1071,7 @@ along with this program.  If not, see 
<http://www.gnu.org/licenses/>.
 .el .@error-recover mismatched .DE
 ..
 .de DS
+.br
 .if '\\n(.z'ds*div' .@error-recover cannot begin display within display
 .nr ds*badarg 0
 .di ds*div



reply via email to

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