Unfortunately, previously reported vertical spacing regression for ms
macro package is still present in 1.23.0.rc4.

For the document:

.nr PS 12p
.nr DD 0p
.LP
A \n[nl]
.NH
B \n[nl]
.EQ
C \n[nl]
.EN
.NH
D \n[nl]
.LP
E \n[nl]
.DS
F \n[nl]
.DE
.NH
G \n[nl]
.LP
H \n[nl]

formatted with "groff -Tpdf -e -ms" I have attached the generated PDF
files for groff 1.22.4, 1.23.0.rc4 and a fixed version of 1.23.0.rc4
(together with the fix).

And as has previously been pointed out, this regression affects
real-world documents.


Christof

-- 

https://cmeerw.org                             sip:cmeerw at cmeerw.org
mailto:cmeerw at cmeerw.org                   xmpp:cmeerw at cmeerw.org

Attachment: ms-1.22.4.pdf
Description: Adobe PDF document

Attachment: ms-1.23.0.pdf
Description: Adobe PDF document

Attachment: ms-1.23.0-patched.pdf
Description: Adobe PDF document

diff -ur groff-1.23.0.rc4.orig/tmac/s.tmac groff-1.23.0.rc4/tmac/s.tmac
--- groff-1.23.0.rc4.orig/tmac/s.tmac	2023-02-04 17:11:13.000000000 +0000
+++ groff-1.23.0.rc4/tmac/s.tmac	2023-04-15 20:09:58.981139388 +0000
@@ -998,7 +998,6 @@
 .de DE
 .ds*end!\\n[\\n[.ev]:ds-type]
 .nr \\n[.ev]:ds-type 0
-.ns
 ..
 .de ds@auto-end
 .if \\n[\\n[.ev]:ds-type] \{\
@@ -1906,7 +1905,6 @@
 .	if !'\\*[eqn*num]'' .nr eqn*have-num 1
 .	ie \\n[dl]:\\n[eqn*have-num] \{\
 .		sp \\n[DD]u
-.		ns
 .		par@reset
 .		ds eqn*tabs \\n[.tabs]
 .		nf
@@ -1935,7 +1933,6 @@
 .		\}
 .\".		if !'\*(.T'html' .sp \\n[DD]u
 .		sp \\n[DD]u
-.		ns
 .		ta \\*[eqn*tabs]
 .	\}
 .	el \{\

Reply via email to