groff-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[groff] 01/01: [mom]: Fixes wandering PDF_IMAGE


From: Peter Schaffter
Subject: [groff] 01/01: [mom]: Fixes wandering PDF_IMAGE
Date: Mon, 14 Oct 2024 16:39:36 -0400 (EDT)

PTPi pushed a commit to branch master
in repository groff.

commit f3d81ab2783be10958126bdfc493a4a354af9c54
Author: Peter Schaffter <peter@schaffter.ca>
AuthorDate: Mon Oct 14 16:35:31 2024 -0400

    [mom]: Fixes wandering PDF_IMAGE
    
    * Corrects PDF_IMAGE after only one line of text at the top of
      documents placing the image on the next page.
    
    * Update BUGS.
---
 contrib/mom/BUGS    | 3 +++
 contrib/mom/om.tmac | 1 +
 2 files changed, 4 insertions(+)

diff --git a/contrib/mom/BUGS b/contrib/mom/BUGS
index 412c4b78e..fb2cf3dc9 100644
--- a/contrib/mom/BUGS
+++ b/contrib/mom/BUGS
@@ -23,6 +23,9 @@ the Subject line or you risk my spam filters nuking your 
message.
 
 Version 2.6_d
 =============
+PDF_IMAGE after only one line text after START is moves the image to
+the next page.
+---Fixed---
 Some graphical objects not recognising colours initialized with
 .XCOLOR.
 ---Fixed---
diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac
index 87b6ab91a..448a14cd1 100644
--- a/contrib/mom/om.tmac
+++ b/contrib/mom/om.tmac
@@ -23754,6 +23754,7 @@ No room to start \\*[MN-pos] margin note #\\n[MN-curr] 
on page \\n[#P].
 \#   In safe mode, the dimensions must be given.
 \#
 .MAC PDF_IMAGE END
+.    ch RR_ADVANCE_FROM_TOP
 .    if \\n[.u] .nr #FILLED 1
 .    nf
 .    if !'\\n[.z]'FLOAT*DIV' \{\



reply via email to

[Prev in Thread] Current Thread [Next in Thread]