[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Groff] Groff 1.19.2 and 1.20.1 differences
From: |
Anton Shepelev |
Subject: |
[Groff] Groff 1.19.2 and 1.20.1 differences |
Date: |
Mon, 3 May 2010 20:33:52 +0400 |
Hello all,
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:
Here's the first test file:
.de TP
..
.de EOP
..
.PGFORM 60n 9999v 0n 1
.de HY
.length antI \\*(}0
.in +\\n[antI]n
.ti -\\n[antI]n
.nr ;0 1
..
.de HZ
.sp -1v \" To get the spacing right (at least, for groff 1.19.2)
..
.VM -T 0v 0v
.nr Ej 1 \"
.nr Hb 5
.nr Hs 0
.nr Hi 0
.nr Dsp 1v \" Vertical space around static displays
.nr Si 2
.H 1 "NAMING CONVENTIONS"
.H 2 "Capitalization"
.P
Short
.P
Short
.AL
.LI
Hey
.LI
Hey Now, in Groff 1.20.1 there'll be no space between this paragraph and the
next.
.LE
.P
Short paragraph
.PGFORM 40n \n(nlu
Result in groff 1.19.2:
1. NAMING CONVENTIONS
1.1 Capitalization
Short
Short
1. Hey
2. Hey Now, in Groff 1.20.1 there'll be no space
between this paragraph and the next.
Short paragraph
Result in groff 1.20.1:
1. NAMING CONVENTIONS
1.1 CSahpoirttalSihzoarttion
1. Hey
2. Hey Now, in Groff 1.20.1 there'll be no space
between this paragraph and the next.
Short paragraph
Second test file:
.de TP
..
.de EOP
..
.PGFORM 60n 9999v 0n 1
.VM -T 0v 0v
.P
Short
.P
Short
.H 1 "NAMING CONVENTIONS"
.P
Short
.P
Short
.PGFORM 40n \n(nlu
Result in groff 1.19.2:
Short
Short
1. NAMING CONVENTIONS
Short
Short
Result in groff 1.20.1:
Short
Short
1. NAMING CONVENTIONS
Short Short
I'd like to know which version works correctly.
Thank you in advance,
Anton