diff docend.A4.tex @ 957:2e51b0787a54

Update page padding to work with variable length front matter.
author Jim Hague <jim.hague@acm.org>
date Wed, 07 Aug 2019 08:21:23 +0100
parents 2324285ba90b
children 3e8fd8bd5707
line wrap: on
line diff
--- a/docend.A4.tex	Wed Aug 07 00:01:44 2019 +0100
+++ b/docend.A4.tex	Wed Aug 07 08:21:23 2019 +0100
@@ -1,4 +1,16 @@
-\padpages{4}{8}
+% Inside back cover.
+\newpage
+\thispagestyle{empty}
+\hbox{}
+
+% Back cover page - or it it?
+\newpage
+
+% Pad pages to multiple of 4.
+\newcounter{frontpages}
+\setcounter{frontpages}{3 + \thelastfrontmatterpage}
+\padpages{4}{\thefrontpages}
+
 \pagecolor{havocpurple}
 \thispagestyle{empty}
 \mbox{}