groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: Fix trap-based condition for 'bp in LS. Protect transpare


From: Peter Schaffter
Subject: [groff] 01/01: Fix trap-based condition for 'bp in LS. Protect transparent throughput and .di at top of QUIT_LISTS. Minor doc fix.
Date: Tue, 11 Sep 2018 17:22:33 -0400 (EDT)

PTPi pushed a commit to branch master
in repository groff.

commit 8b30a7911e195c48c03fbc1955b3abc9016d2f15
Author: Peter Schaffter <address@hidden>
Date:   Tue Sep 11 17:12:34 2018 -0400

    Fix trap-based condition for 'bp in LS.
    Protect transparent throughput and .di at top of QUIT_LISTS.
    Minor doc fix.
---
 contrib/mom/momdoc/macrolist.html | 2 +-
 contrib/mom/om.tmac               | 9 ++++++---
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/contrib/mom/momdoc/macrolist.html 
b/contrib/mom/momdoc/macrolist.html
index 3ea7198..291f153 100644
--- a/contrib/mom/momdoc/macrolist.html
+++ b/contrib/mom/momdoc/macrolist.html
@@ -1377,7 +1377,7 @@ elsewhere in the documentation.
 <td><a 
href="headfootpage.html#pagenumber-string">&nbsp;PAGENUMBER_STRING</a></td><td>--
 user-defined page numbering string</td>
 </tr>
 <tr>
-<td><a 
href="headfootpage.html#pagenum-on-first-page">&nbsp;PAGENUM_ON_FIRST_PAGE</a></td><td>--
 when footers are enabled</td>
+<td><a 
href="headfootpage.html#pagenum-on-first-page">&nbsp;PAGENUM_ON_FIRST_PAGE</a></td><td>--
 when page numbering is at page top</td>
 </tr>
 <tr>
 <td style="vertical-align: top;"><a 
href="headfootpage.html#draft-with-pagenumber">&nbsp;DRAFT_WITH_PAGENUMBER</a></td><td>--
 attach draft/revision to page number</td>
diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac
index f3f54c5..5f763f8 100644
--- a/contrib/mom/om.tmac
+++ b/contrib/mom/om.tmac
@@ -688,7 +688,8 @@ end
 .       rr #AUTOLEADING
 .    \}
 .    vs \\$1
-.    if \\n[.t]<\\n[.v] 'bp
+.    if !\\n[#START] \
+.       if \\n[.t]<\\n[.v] 'bp
 .END
 \#
 \# AUTOLEAD
@@ -16526,8 +16527,10 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
 \#
 .MAC QUIT_LISTS END
 .   br
-\!. rr #IN_LIST
-.   di
+.   if '\\n.z]'LIST*DIV' \{\
+\!.    rr #IN_LIST
+.      di
+.   \}
 .   IQ CLEAR
 .   nr #HL_INDENT \\n[#STORED_HL_INDENT]
 .   nr #T_INDENT  \\n[#STORED_T_INDENT]



reply via email to

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