groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: [mom]: Fixes savannah bug #64561


From: Peter Schaffter
Subject: [groff] 01/01: [mom]: Fixes savannah bug #64561
Date: Wed, 16 Aug 2023 17:30:00 -0400 (EDT)

PTPi pushed a commit to branch master
in repository groff.

commit 743e01b1b2238576772d399126f77a9957fc8017
Author: Peter Schaffter <peter@schaffter.ca>
AuthorDate: Wed Aug 16 17:26:25 2023 -0400

    [mom]: Fixes savannah bug #64561
    
    Also corrects ".if r [T" to ".if \\n[[T]" in macro ][.
---
 contrib/mom/om.tmac | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac
index adb7508ce..4ac9ff3a2 100644
--- a/contrib/mom/om.tmac
+++ b/contrib/mom/om.tmac
@@ -12170,7 +12170,7 @@ Shimming must be disabled with NO_SHIM before using 
FLEX.
 .       if \\n[#EXTEND]=1 \{\
 \E*[EXT]\c
 .       \}
-.    nr #Q_PP +1
+.       nr #Q_PP +1
 .    \}
 .\" This takes care of multi-paragraph dialogue, where each para
 .\" is introduced by an open quote whereas the previous para has
@@ -12281,7 +12281,8 @@ Shimming must be disabled with NO_SHIM before using 
FLEX.
 .    ie \\n[@TOP] \
 .       br
 .    el 'br
-.    if \\n[#PP]>0 .rr #START
+.    ie \\n[#PP]>0 .rr #START
+.    el .nr #PP 1 1
 .    if '\\n[.z]'FLOAT*DIV' .nr Q-float 1
 .    if \\n[#LINENUMBERS]=1 \{\
 .       nr #LINENUMBERS 2
@@ -12445,7 +12446,7 @@ Shimming must be disabled with NO_SHIM before using 
FLEX.
 .          SMARTQUOTES
 .       \}
 .       if \\n[#QUOTE] .sp -1
-.       if \\n[pdfbx-end] .if !\\n[#QUOTE] .sp -1
+.       if \\n[pdfbx-end] .if !\\n[#QUOTE] 'sp
 .    \}
 .END
 \#
@@ -22252,7 +22253,7 @@ does not fit on page \\n[pgnum]\\*[col-num].
 .      ds ref*spec!4 i A m p T2 B G O C I D P O n
 .   \}
 .\}
-.if r [T \{\
+.if \\n[[T] \{\
 .   als [T1 [T
 .   als [T2 [T
 .\}



reply via email to

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