[Top][All Lists]

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

Re: [Groff] -mm incompatibility with troff

From: Larry Jones
Subject: Re: [Groff] -mm incompatibility with troff
Date: Wed, 25 Jul 2001 15:47:21 -0400 (EDT)

Andrew Koenig writes:
> When I run it under groff -mm, the "Section [12]" lines come out
> in italic font, and there is no blank line before "Section 2".

My guess was wrong, it's not a bug in .SP; it's a bug in the
initialization of Hps1 and Hps2.  Here's the fix:

Index: m.tmac
RCS file: /var/cvs/groff/contrib/mm/m.tmac,v
retrieving revision 2.4
diff -u -r2.4 m.tmac
--- m.tmac      16 May 2001 11:07:52 -0000      2.4
+++ m.tmac      25 Jul 2001 19:35:15 -0000
@@ -220,12 +220,12 @@
 .\" These variables controls the number of lines preceding .H.
 .\" Hps1 is the number of lines when level > Hps Hps1 0.5
-.if n .nr Hps1 1 Hps1 0.5v
+.if n .nr Hps1 1v
 .\" Hps2 is the number of lines when level <= Hps Hps2 1
-.if n .nr Hps2 2 Hps2 1v
+.if n .nr Hps2 2v
 .\" Hss is the number of lines (Lsp) after the header.
 .nr Hss 1

-Larry Jones

That's one of the remarkable things about life.  It's never so
bad that it can't get worse. -- Calvin

reply via email to

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