groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: Fixes missing page numbers after BLANKPAGE DIVIDER


From: Peter Schaffter
Subject: [groff] 01/01: Fixes missing page numbers after BLANKPAGE DIVIDER
Date: Tue, 21 Oct 2014 04:07:56 +0000

PTPi pushed a commit to branch master
in repository groff.

commit 791a228815399bef4c2555dbd5d50ec01447d254
Author: Peter Schaffter <address@hidden>
Date:   Tue Oct 21 00:07:45 2014 -0400

    Fixes missing page numbers after BLANKPAGE DIVIDER
---
 contrib/mom/om.tmac |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/contrib/mom/om.tmac b/contrib/mom/om.tmac
index 905950c..adf1df1 100644
--- a/contrib/mom/om.tmac
+++ b/contrib/mom/om.tmac
@@ -15673,6 +15673,10 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
 .    rr #COVER
 .    rr #LAST_LEVEL
 .    rr #LEVEL
+.    if \\n[#RESTORE_PN_V_POS] \{\
+.       nr #PAGE_NUM_V_POS \\n[#RESTORE_PN_V_POS]
+.       rr #RESTORE_PN_V_POS
+.    \}
 .END
 \#
 \# NUMBER_LINES
@@ -15849,6 +15853,7 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
 .       \}
 .       if \\n[#PAGE_NUM_V_POS]=2 \{\
 .          if \\n[#PAGINATE]=1 .nr #PAGINATE_WAS_ON 1
+.             nr #RESTORE_PN_V_POS \\n[#PAGE_NUM_V_POS]
 .          PAGINATION OFF
 .       \}
 .       if \\n[#HEADERS_WERE_ON] .HEADERS
@@ -15858,7 +15863,7 @@ E\\R'#CAP_HEIGHT \\n[.cht]'
 .    shift
 .    ie '\\$1'DIVIDER' \{\
 .       if \\n[#FOOTERS_WERE_ON] .FOOTERS
-.       if \\n[#PAGE_NUM_V_POS]=2 \{\
+.       if \\n[#RESTORE_PN_V_POS]=2 \{\
 .          if \\n[#PAGINATE_WAS_ON] .nr #RESTORE_PAGINATION 1
 .       \}
 .       shift



reply via email to

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