CVSROOT:        /cvsroot/groff
Module name:    groff
Changes by:     Keith Marshall <keithmarshall>  06/07/30 21:49:51

Modified files:
        contrib/pdfmark: ChangeLog pdfroff.sh 

Log message:
                * pdfroff.sh (PDFROFF_KILL_NULL_PAGES): Require 
`%%BeginPageSetup' on
                PostScript output line immediately following `%%Page:'.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/pdfmark/ChangeLog?cvsroot=groff&r1=1.19&r2=1.20
http://cvs.savannah.gnu.org/viewcvs/groff/contrib/pdfmark/pdfroff.sh?cvsroot=groff&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/groff/groff/contrib/pdfmark/ChangeLog,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -b -r1.19 -r1.20
--- ChangeLog   29 Jul 2006 16:45:42 -0000      1.19
+++ ChangeLog   30 Jul 2006 21:49:51 -0000      1.20
@@ -1,3 +1,8 @@
+2006-07-30  Keith Marshall  <[EMAIL PROTECTED]>
+
+       * pdfroff.sh (PDFROFF_KILL_NULL_PAGES): Require `%%BeginPageSetup' on
+       PostScript output line immediately following `%%Page:'.
+
 2006-07-29  Keith Marshall  <[EMAIL PROTECTED]>
 
        * pdfroff.sh (PDFROFF_KILL_NULL_PAGES): Require `sed' to match a more

Index: pdfroff.sh
===================================================================
RCS file: /cvsroot/groff/groff/contrib/pdfmark/pdfroff.sh,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- pdfroff.sh  29 Jul 2006 16:45:42 -0000      1.12
+++ pdfroff.sh  30 Jul 2006 21:49:51 -0000      1.13
@@ -609,6 +609,11 @@
 # (This 'sed' script is a hack, to eliminate redundant blank pages).
 #
   ${PDFROFF_COLLATE-"$SED"} ${PDFROFF_KILL_NULL_PAGES-'
+      /%%Page:/{
+       N
+       /%%BeginPageSetup/b again
+      }
+      b
     :again
       /%%EndPageSetup/b finish
       /%%Page:/{
@@ -623,4 +628,4 @@
   $SAY >&2 ". done"
 #
 # 
------------------------------------------------------------------------------
-# $RCSfile: pdfroff.sh,v $ $Revision: 1.12 $: end of file
+# $RCSfile: pdfroff.sh,v $ $Revision: 1.13 $: end of file


_______________________________________________
Groff-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/groff-commit

Reply via email to