changeset 968:1b651f0b1cb4 build-default-351

Round A5 to even number of pages.
author Jim Hague <jim.hague@acm.org>
date Thu, 08 Aug 2019 11:22:09 +0100
parents edcc3887f06f
children 82eaf4ee7f12 40b43075a421
files docend.A5.tex docsetup.A5.tex
diffstat 2 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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{}
--- 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}