gbranden pushed a commit to branch master
in repository groff.

commit adbca4cc58fd64c8458d229169fb1e193b5c9f9d
Author: Alexis Hildebrandt <[email protected]>
AuthorDate: Tue Dec 23 11:45:08 2025 +0000

    [mm]: Fix Savannah #67857.
    
    Reading through mse.tmac and LT.se as a preparation to take on bug
    \#65861 I noticed that the layout does not seem right (see attachment
    LT.se-before.pdf).  The main issues I notice are as follows.
    
    -  The main body text is offset very far to the right and overflows the
       right paper edge.
    -  The lines of the main body text are not filled, i.e., line breaks in
       the source are present in the rendered output.
    -  Once the first item is fixed, the `SVH` letter type main body line
       length also overflows the right paper edge.
    
    * contrib/mm/mse.tmac (let@init_SVH): Drop spurious `in` and `ll`
      requests.
    
      (let@print_SV): Set indentation to zero and enable filling.
    
    * contrib/mm/examples/LT.se: Make both the `SVH` and `SVH` letter types
      demonstrable by adding a `lT` string to select between them (much the
      way "memorandum.mm" works).  Update introductory comments.
    
    Fixes <https://savannah.gnu.org/bugs/?67857>.
---
 contrib/mm/ChangeLog      | 24 ++++++++++++++++++++++++
 contrib/mm/examples/LT.se | 21 +++++++++++++--------
 contrib/mm/mse.tmac       |  4 ++--
 3 files changed, 39 insertions(+), 10 deletions(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index ea2bcc5be..16e02b46e 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,27 @@
+2025-12-23  Alexis Hildebrandt <[email protected]>
+
+       [mm]: Fix Savannah #67857.
+
+       Reading through mse.tmac and LT.se as a preparation to take on
+       bug #65861 I noticed that the layout does not seem right (see
+       attachment LT.se-before.pdf).  The main issues I notice are as
+       follows.
+       -  The main body text is offset very far to the right and
+          overflows the right paper edge.
+       -  The lines of the main body text are not filled, i.e., line
+          breaks in the source are present in the rendered output.
+       -  Once the first item is fixed, the `SVH` letter type main body
+          line length also overflows the right paper edge.
+
+       * mse.tmac (let@init_SVH): Drop spurious `in` and `ll` requests.
+       (let@print_SV): Set indentation to zero and enable filling.
+       * examples/LT.se: Make both the `SVH` and `SVH` letter types
+       demonstrable by adding a `lT` string to select between them
+       {much the way "memorandum.mm" works}.  Update introductory
+       comments.
+
+       Fixes <https://savannah.gnu.org/bugs/?67857>.
+
 2026-01-01  G. Branden Robinson <[email protected]>
 
        Add tests of footnote area layout and vertical margins.
diff --git a/contrib/mm/examples/LT.se b/contrib/mm/examples/LT.se
index 656d8929b..c05ee5b70 100644
--- a/contrib/mm/examples/LT.se
+++ b/contrib/mm/examples/LT.se
@@ -1,11 +1,12 @@
-.\"    -*- nroff -*-
 .\"    Copyright 1989-2014 Free Software Foundation, Inc.
 .\"
-.\"    Copying and distribution of this file, with or without modification,
-.\"    are permitted in any medium without royalty provided the copyright
-.\"    notice and this notice are preserved.
+.\"    Copying and distribution of this file, with or without
+.\"    modification, are permitted in any medium without royalty
+.\"    provided the copyright notice and this notice are preserved.
 .
-.\" groff -mmse LT.se
+.\" groff -mmse -dlT=SVV LT.se
+.\" v�nster eller h�gerst�llt brev
+.\" groff -mmse -dlT=SVH LT.se
 .ND 1994-10-26
 .WA "Sven Olsson" title
 Return address
@@ -29,9 +30,8 @@ Text xxxxxxxxxxxxxxxxxx
 .LO BET �rendebeteckning
 .LO MBET "Mottagarens b"
 .LO SIDOR 22
-.\" v�nster eller h�gerst�llt brev
-.\" .LT SVH
-.LT SVV
+.if !dlT .ds lT SVV
+.LT \*(lT
 hepp
 granary
 grand
@@ -1067,3 +1067,8 @@ holystone
 .NS
 holt
 .NE
+.\" Local Variables:
+.\" mode: nroff
+.\" fill-column: 72
+.\" End:
+.\" vim: set filetype=groff textwidth=72:
diff --git a/contrib/mm/mse.tmac b/contrib/mm/mse.tmac
index f4d2fec3e..3ca20fa2f 100644
--- a/contrib/mm/mse.tmac
+++ b/contrib/mm/mse.tmac
@@ -64,8 +64,6 @@ http://savannah.gnu.org/bugs/?group=groff.
 .ds LetSIDOR
 .\" Svensk standard med h�gerst�lld l�ptext. ---------------------
 .de let@init_SVH
-.in 4.57c
-.ll 17.57c
 ..
 .de let@head_SVH
 .rm let@header
@@ -156,6 +154,8 @@ Datum:
 .\"
 .\" Ta hand om special
 .if d TP .TP
+.in 0
+.fi
 .sp |17
 ..
 .\"  -----------------------------------

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

Reply via email to