From 2b98e756fdac5232e70d370c7da240683364f927 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Thu, 8 Aug 2019 11:22:09 +0100 Subject: [PATCH] Round A5 to even number of pages. --- docend.A5.tex | 8 +++++++- docsetup.A5.tex | 4 +++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docend.A5.tex b/docend.A5.tex index e39ec7e..cc4b674 100644 --- a/docend.A5.tex +++ b/docend.A5.tex @@ -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 --git a/docsetup.A5.tex b/docsetup.A5.tex index 4c67125..f5e035d 100644 --- a/docsetup.A5.tex +++ b/docsetup.A5.tex @@ -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}