summaryrefslogtreecommitdiff
path: root/contrib/pdfmark/pdfroff.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pdfmark/pdfroff.sh')
-rw-r--r--contrib/pdfmark/pdfroff.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/contrib/pdfmark/pdfroff.sh b/contrib/pdfmark/pdfroff.sh
index a670d6a3..a23bba55 100644
--- a/contrib/pdfmark/pdfroff.sh
+++ b/contrib/pdfmark/pdfroff.sh
@@ -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