[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #57538] .ne is off by one in some macro packages even when using no
From: |
Dave |
Subject: |
[bug #57538] .ne is off by one in some macro packages even when using no other facilities of that package |
Date: |
Thu, 18 May 2023 15:27:22 -0400 (EDT) |
Follow-up Comment #20, bug #57538 (project groff):
[comment #18 comment #18:]
> I ported your reproducer to ms,
Your port doesn't actually reproduce the situation the other examples are
demonstrating, at least not with a US-letter paper setting. I get this
output:
$ groff -a need1.ms 2> /dev/null
<beginning of page>
1
2
3
4
5
6
<beginning of page>
-2-
But having all lines on the first page doesn't set up the situation where we
can test the bug; for that, there needs to be a page break before line 6.
I was able to bring this about by changing the 9i to 9.3i. And once that's
done, the two files do in fact show the bug present in -ms:
$ sed s/9i/9.3i/ need1.ms | groff -a 2> /dev/null
<beginning of page>
1
2
3
4
5
<beginning of page>
-2-
6
$ sed s/9i/9.3i/ need2.ms | groff -a 2> /dev/null
<beginning of page>
1
2
<beginning of page>
-2-
3
4
5
6
This output is the same for me with 1.22.4 and 1.23.0.rc4.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?57538>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/