# HG changeset patch # User Jim Hague # Date 1565162483 -3600 # Node ID 2e51b0787a5408f7121f1c627f4af313c5892bf7 # Parent c52d237f99d5d47acc58b60476826104e9147231 Update page padding to work with variable length front matter. diff -r c52d237f99d5 -r 2e51b0787a54 docend.A4.tex --- 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{} diff -r c52d237f99d5 -r 2e51b0787a54 docsetup.A4.tex --- a/docsetup.A4.tex Wed Aug 07 00:01:44 2019 +0100 +++ b/docsetup.A4.tex Wed Aug 07 08:21:23 2019 +0100 @@ -18,10 +18,12 @@ \includegraphics[width=0.5\textwidth,keepaspectratio]{buzzard} \vfill {\Large Compiled by Jim Hague}\\ -% Inside cover + +% Inside front cover \newpage \pagecolor{white} \hbox{} + \newpage {\Large \havocfont{Ye}}\\[\baselineskip] {\Huge \havocfont{Crie Havock}}\\[\baselineskip] diff -r c52d237f99d5 -r 2e51b0787a54 dottes.tex --- a/dottes.tex Wed Aug 07 00:01:44 2019 +0100 +++ b/dottes.tex Wed Aug 07 08:21:23 2019 +0100 @@ -270,6 +270,9 @@ \tableofcontents +\newcounter{lastfrontmatterpage} +\setcounter{lastfrontmatterpage}{\value{page}} + % ----- \mainmatter