groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: [mm] Fix line length of `.DS' with indentation (#45452).


From: Werner LEMBERG
Subject: [groff] 01/01: [mm] Fix line length of `.DS' with indentation (#45452).
Date: Thu, 16 Jul 2015 10:06:33 +0000

wl pushed a commit to branch master
in repository groff.

commit 06dbfabd78c4b7b7a6c85aa3e187d6dc6bb7f6f5
Author: Carsten Kunze <address@hidden>
Date:   Thu Jul 16 12:05:55 2015 +0200

    [mm] Fix line length of `.DS' with indentation (#45452).
    
    If `.DS' with first argument `1' or `I' is used the output should
    use an indentation of `\n[Si]n'.  To make this work, the line length
    within the `.DS' diversion must be set to zero, otherwise the
    effective line length is too large.
    
    * m.tmac (DS): Call address@hidden' with correct indentation value.
---
 contrib/mm/ChangeLog |   11 +++++++++++
 contrib/mm/m.tmac    |    4 +++-
 2 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/contrib/mm/ChangeLog b/contrib/mm/ChangeLog
index a351c10..83deaf9 100644
--- a/contrib/mm/ChangeLog
+++ b/contrib/mm/ChangeLog
@@ -1,3 +1,14 @@
+Thu Jul 16 11:52:03 2015  Carsten Kunze  <address@hidden>
+
+       Fix line length of `.DS' with indentation (#45452).
+
+       If `.DS' with first argument `1' or `I' is used the output should
+       use an indentation of `\n[Si]n'.  To make this work, the line length
+       within the `.DS' diversion must be set to zero, otherwise the
+       effective line length is too large.
+
+       * m.tmac (DS): Call address@hidden' with correct indentation value.
+
 Fri Apr  3 16:33:22 2015  Werner LEMBERG  <address@hidden>
 
        Make man pages work in compatibility mode.
diff --git a/contrib/mm/m.tmac b/contrib/mm/m.tmac
index 4b76039..09cc03b 100644
--- a/contrib/mm/m.tmac
+++ b/contrib/mm/m.tmac
@@ -2083,7 +2083,9 @@ in=\\n[.i] fi=\\n[.u] .d=\\n[.d] nl=\\n[nl] pg=\\n[%]
 'in 0
 .di ds*div!\\n[ds*snr]
 .\"
address@hidden \\n[ds*old-ll]
+.nr ds*div-ll \\n[ds*old-ll]
+.if \\n[ds*format]=1 .nr ds*div-ll -\\n(Sin
address@hidden \\n[ds*div-ll]
 .nr df*float 0
 ..
 .\"--------------------------------------------



reply via email to

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