groff-commit
[Top][All Lists]
Advanced

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

[Groff-commit] groff/contrib/mom BUGS ChangeLog om.tmac momdoc...


From: Peter Schaffter
Subject: [Groff-commit] groff/contrib/mom BUGS ChangeLog om.tmac momdoc...
Date: Wed, 31 Dec 2008 02:04:18 +0000

CVSROOT:        /sources/groff
Module name:    groff
Changes by:     Peter Schaffter <PTPi>  08/12/31 02:04:17

Modified files:
        contrib/mom    : BUGS ChangeLog om.tmac 
        contrib/mom/momdoc: toc.html 

Log message:
        o Doc fixes in toc.html
        
        o Control of null pagenumbering of covers passed to \n%; formerly
          handled by \n[#PAGE_NUM_ADJ]

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mom/BUGS?cvsroot=groff&r1=1.38&r2=1.39
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mom/ChangeLog?cvsroot=groff&r1=1.58&r2=1.59
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mom/om.tmac?cvsroot=groff&r1=1.46&r2=1.47
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/mom/momdoc/toc.html?cvsroot=groff&r1=1.29&r2=1.30

Patches:
Index: BUGS
===================================================================
RCS file: /sources/groff/groff/contrib/mom/BUGS,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -b -r1.38 -r1.39
--- BUGS        24 Dec 2008 06:26:44 -0000      1.38
+++ BUGS        31 Dec 2008 02:04:17 -0000      1.39
@@ -21,6 +21,11 @@
 --Peter Schaffter
 
 ========================================================================
+Version 1.5-c
+=============
+Covers and doccovers not always respecting null pagenumbering.
+--Fixed---
+
 Version 1.5-b
 =============
 Use of \E*[UC] and \E*[LC] inside strings for HDRFTR_RECTO and

Index: ChangeLog
===================================================================
RCS file: /sources/groff/groff/contrib/mom/ChangeLog,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -b -r1.58 -r1.59
--- ChangeLog   24 Dec 2008 06:26:45 -0000      1.58
+++ ChangeLog   31 Dec 2008 02:04:17 -0000      1.59
@@ -1,3 +1,12 @@
+* Tue Dec 30 2008
+
+o Doc fixes in toc.html
+
+o Control of null pagenumbering of covers passed to \n%; formerly
+  handled by \n[#PAGE_NUM_ADJ]
+
+====================================================================
+
 * Tue Dec 23 2008
 
 o Added a CAPS option to HDRFTR_RECTO and HDRFTR_VERSO to allow

Index: om.tmac
===================================================================
RCS file: /sources/groff/groff/contrib/mom/om.tmac,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -b -r1.46 -r1.47
--- om.tmac     24 Dec 2008 06:26:45 -0000      1.46
+++ om.tmac     31 Dec 2008 02:04:17 -0000      1.47
@@ -48,6 +48,7 @@
 \# ====================================================================
 \#
 \# Check which version of groff is being run
+.if r#PAGINATE .ab
 .if (\n[.x]\n[.y] < 118) \
 .   ab [mom]: You need GNU troff version 1.18 or higher to run this version of 
mom.
 \# Check that GNU troff is being run
@@ -7409,22 +7410,27 @@
 .    EOL
 .    TRAP
 .    NEWPAGE
+.    if \\n[#PAGINATION_WAS_ON]=1 \{ .nr % +1 \}
 .    if \\n[#DOCCOVER_END]=1 \{\
 .       ie \\n[#DOCCOVER_BLANKPAGE]=1 \{\
 .          NEWPAGE
 .          rr #DOCCOVER_BLANKPAGE
+.          if !\\n[#DOCCOVERS_COUNT]=1 \{ .nr % -2 \}
+.       \}
+.       el \{\
 .          if !\\n[#DOCCOVERS_COUNT]=1 \{ .nr #PAGE_NUM_ADJ -1 \}
 .       \}
-.       el \{ . \}
 .       rr #DOCCOVER_END
 .    \}
 .    if \\n[#COVER_END]=1 \{\
 .       ie \\n[#COVER_BLANKPAGE]=1 \{\
 .          NEWPAGE
 .          rr #COVER_BLANKPAGE
+.          if !\\n[#COVERS_COUNT]=1 \{ .nr % -2 \}
+.       \}
+.       el \{\
 .          if !\\n[#COVERS_COUNT]=1 \{ .nr #PAGE_NUM_ADJ -1 \}
 .       \}
-.       el \{ . \}
 .       rr #COVER_END
 .    \}
 .    ev

Index: momdoc/toc.html
===================================================================
RCS file: /sources/groff/groff/contrib/mom/momdoc/toc.html,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -b -r1.29 -r1.30
--- momdoc/toc.html     24 Dec 2008 01:48:57 -0000      1.29
+++ momdoc/toc.html     31 Dec 2008 02:04:17 -0000      1.30
@@ -2,8 +2,8 @@
 <!--
 This file is part of groff, the GNU roff type-setting system.
 
-Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc.
-Written by Peter Schaffter.
+Copyright (C) 2004, 2005, 2006, 2007, 2008 Free Software Foundation,
+Inc.  Written by Peter Schaffter.
 
 Permission is granted to copy, distribute and/or modify this document
 under the terms of the GNU Free Documentation License, Version 1.1 or
@@ -294,8 +294,8 @@
             <li><a href="docprocessing.html#REVISION">5.3.2.8 REVISION</a></li>
             <li><a href="docprocessing.html#COPYRIGHT">5.3.2.9 
COPYRIGHT</a></li>
             <li><a href="docprocessing.html#MISC">5.3.2.10 MISC</a></li>
-            <li><a href="docprocessing.html#COVERTITLE">5.3.2.11 
COVER_TITLE</a></li>
-            <li><a href="docprocessing.html#COVERTITLE">5.3.2.12 
DOC_COVER_TITLE</a></li>
+            <li><a href="docprocessing.html#COVERTITLE">5.3.2.11 
COVERTITLE</a></li>
+            <li><a href="docprocessing.html#COVERTITLE">5.3.2.12 
DOC_COVERTITLE</a></li>
         </ul>
 
         <li><a href="docprocessing.html#DOCSTYLE_MACROS"><strong>5.3.3 The 
Docstyle Macros</strong></a> &mdash; telling <strong>mom</strong> what kind of 
document you're creating and how you want it to look overall</li>




reply via email to

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