PTPi pushed a commit to branch master
in repository groff.

commit d9b2bd63084a4ba144dc6274460ae8d05a0a527a
Author: Peter Schaffter <pe...@schaffter.ca>
AuthorDate: Thu Apr 18 13:48:48 2024 -0400

    [mom]: Fixes ITEM spacing at document start and top of page.
---
 contrib/mom/om.tmac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac
index c7d20272e..eb1c10181 100644
--- a/contrib/mom/om.tmac
+++ b/contrib/mom/om.tmac
@@ -16629,6 +16629,7 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
 \#   receive the text of an item.
 \#
 .MAC ITEM END
+.    if \\n[#START]+\\n[@TOP]>0 .RESTORE_SPACE
 .    ie \\n[#NUM_ARGS]=2 .sp \\$2
 .    el \
 .       if \B'\\$1' .sp \\$1

_______________________________________________
Groff-commit mailing list
Groff-commit@gnu.org
https://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to