groff
[Top][All Lists]
Advanced

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

Re: [Groff] Groff 1.19.2 and 1.20.1 differences


From: Tadziu Hoffmann
Subject: Re: [Groff] Groff 1.19.2 and 1.20.1 differences
Date: Mon, 3 May 2010 21:57:36 +0200
User-agent: Mutt/1.5.17 (2007-11-01)

> I  have found a difference in groff's behaviour on
> my home computer (groff 1.19.2) and at work (groff
> 1.20.1). Note the vertical spacing and the merging
> of paragraphs:
[snip]

The 1.20.1 behavior is obviously wrong: in your second document,
calling the header macro once breaks the behavior of subsequent
calls of the paragraph macro.  I'm sure this is not intended.

The error must have been introduced between 1.19.2 and 1.19.3,
and it's a bug in the mm macros, not in troff, as you can
see by sourcing the 1.19.2 mm macros with troff 1.20.1
(and vice versa).

If you edit the current mm macros and move the address@hidden
call in the definition of the paragraph macro outside the
conditional (as in the 1.19.2 mm macros)  (and additionally
delete the devtag macro calls because the seem to introduce
unwanted empty lines), I think you get the correct behavior.

(But this "fix" is purely trial and error, I haven't
attempted to actually understand what is happening.)






reply via email to

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