# HG changeset patch
# User Jim Hague <jim.hague@acm.org>
# Date 1565259729 -3600
# Node ID 1b651f0b1cb40d0b37e2535fc7fe85425721a470
# Parent  edcc3887f06f5bfdf35018c7a49635df290d1c34
Round A5 to even number of pages.

diff -r edcc3887f06f -r 1b651f0b1cb4 docend.A5.tex
--- a/docend.A5.tex	Thu Aug 08 11:20:09 2019 +0100
+++ b/docend.A5.tex	Thu Aug 08 11:22:09 2019 +0100
@@ -3,8 +3,14 @@
 \thispagestyle{empty}
 \hbox{}
 
-% Back cover page
+% Back cover page - or it it?
 \newpage
+
+% Pad pages to multiple of 2.
+\newcounter{frontpages}
+\setcounter{frontpages}{4 + \thelastfrontmatterpage}
+\padpages{2}{\thefrontpages}
+
 \pagecolor{havocpurple}
 \thispagestyle{empty}
 \mbox{}
diff -r edcc3887f06f -r 1b651f0b1cb4 docsetup.A5.tex
--- a/docsetup.A5.tex	Thu Aug 08 11:20:09 2019 +0100
+++ b/docsetup.A5.tex	Thu Aug 08 11:22:09 2019 +0100
@@ -2,7 +2,9 @@
 
 % For A5 wire bound, DoxDirect require the outside front cover,
 % the content, and the outside back cover. Note that unlike A4 saddle
-% stitch they do NOT want inside front and back covers.
+% stitch they do NOT want inside front and back covers pages as part
+% of the PDF. For geek points, round the number of content pages to
+% a multiple of 2.
 
 % Title page. Cover and inner cover page.
 \newfontfamily\havocfont[Scale=2.1]{English Towne}