[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: [mom] Fixes erroneous depth calculation in DROPCAP.
From: |
Peter Schaffter |
Subject: |
[groff] 01/01: [mom] Fixes erroneous depth calculation in DROPCAP. |
Date: |
Wed, 27 Jul 2022 15:13:06 -0400 (EDT) |
PTPi pushed a commit to branch master
in repository groff.
commit 256e61ffc66380066a8afcc99391a959de50b555
Author: Peter Schaffter <peter@schaffter.ca>
AuthorDate: Wed Jul 27 15:07:08 2022 -0400
[mom] Fixes erroneous depth calculation in DROPCAP.
---
contrib/mom/BUGS | 5 +++++
contrib/mom/om.tmac | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/contrib/mom/BUGS b/contrib/mom/BUGS
index 4c7a587a..5757a07a 100644
--- a/contrib/mom/BUGS
+++ b/contrib/mom/BUGS
@@ -21,6 +21,11 @@ the Subject line or you risk my spam filters nuking your
message.
====================================================================
+Version 2.5_b
+=============
+DROPCAP not calculating distance to FOOTER trap correctly.
+---Fixed---
+
Version 2.5
===========
diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac
index f5a8d157..66ee80f3 100644
--- a/contrib/mom/om.tmac
+++ b/contrib/mom/om.tmac
@@ -2677,7 +2677,7 @@ end
. \}
. if d$DC_ADJUST .ps \\*[$DC_ADJUST]p
. nr #DC_LINES +1
-. if \\n[#DC_LINES]v>\\n[.t] \{\
+. if (\\n[#DC_LINES]v-1v)>(\\n[.t]-1) \{\
. nr pgnum \\n%+\\n[#PAGE_NUM_ADJ] 1
. if \\n[#COLUMNS]=1 .ds col-num ", column \\n[#COL_NUM]
. tm1 \
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: [mom] Fixes erroneous depth calculation in DROPCAP.,
Peter Schaffter <=