groff-commit
[Top][All Lists]
Advanced

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

[groff] 01/01: Fix missing register #FROM_\*[DOC_]COVERTITLE.


From: Peter Schaffter
Subject: [groff] 01/01: Fix missing register #FROM_\*[DOC_]COVERTITLE.
Date: Thu, 2 Nov 2017 18:28:59 -0400 (EDT)

PTPi pushed a commit to branch master
in repository groff.

commit b9f712e5097e04b4179417b32eeeaae018486e0a
Author: Peter Schaffter <address@hidden>
Date:   Thu Nov 2 18:26:07 2017 -0400

    Fix missing register #FROM_\*[DOC_]COVERTITLE.
---
 contrib/mom/om.tmac-u | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/contrib/mom/om.tmac-u b/contrib/mom/om.tmac-u
index 22a63c1..17b0eb7 100644
--- a/contrib/mom/om.tmac-u
+++ b/contrib/mom/om.tmac-u
@@ -18,7 +18,7 @@ FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public 
License
 for more details.
 
 You should have received a copy of the GNU General Public License
-along with this program.  If not, see <http://www.gnu.org/licenses/>.
+along with this program. If not, see <http://www.gnu.org/licenses/>.
 
 Version 2.2-a
 -------------
@@ -221,6 +221,7 @@ end
 .ds PDFHREF.TEXTCOL.DEFAULT 0.0 0.3 0.9
 .nr PDFHREF.VIEW.LEADING.C 3i
 .nr PDFHREF.VIEW.LEADING.T 1i
+.nr PDFHREF.VIEW.LEADING 0
 .nr PDFHREF.VIEW.LEADING.H \n[PDFHREF.VIEW.LEADING]
 \#
 \# ====================================================================
@@ -6749,7 +6750,10 @@ SMALLCAPS takes precedence.
 .       \}
 .       if '\\$1'TITLE' \{\
 .          nr #\\*[DOC_]COVER_TITLE 1
-.          if \\n[#FROM_\\*[DOC_]COVERTITLE] .nr #\\*[DOC_]COVER_TITLE 7
+.          if \\n[#FROM_\\*[DOC_]COVERTITLE] \{\
+.             nr #\\*[DOC_]COVER_TITLE 7
+.             rr #FROM_\\*[DOC_]COVERTITLE
+.          \}
 .          shift
 .       \}
 .       if '\\$1'CHAPTER' \{\
@@ -6824,7 +6828,10 @@ SMALLCAPS takes precedence.
 \#
 .MAC COVERTITLE END
 .    rm DOC_
-.    if '\\$0'DOC_COVERTITLE' .ds DOC_ DOC_
+.    if '\\$0'DOC_COVERTITLE' \{\
+.       ds DOC_ DOC_
+.       nr #FROM_\\*[DOC_]COVERTITLE 1
+.    \}
 .    ie \\n[#NUM_ARGS]=0 \{\
 .       nr argc 0 1
 .       while \\n+[argc]<=3 \{\



reply via email to

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