# HG changeset patch
# User Jim Hague <jim.hague@acm.org>
# Date 1376052959 -3600
# Node ID 9f9df5c40d1b4b4d41a244a0b2bbd8b78a80f944
# Parent  5ad25b9346139d41dd435554be076548b3839702
Move cover page colour and blank coloured end page to doc-specific files.

That way output where the colour isn't appropriate, such as Nook or the newly introduced
A4Lulu output (which is the A4 book but with white cover page and no end coloured page, and so
suitable for using as the content on Lulu, where the cover is separate) can omit the colour.

diff -r 5ad25b934613 -r 9f9df5c40d1b docend.A4.tex
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docend.A4.tex	Fri Aug 09 13:55:59 2013 +0100
@@ -0,0 +1,3 @@
+\pagecolor{havocpurple}
+\thispagestyle{empty}
+\mbox{}
diff -r 5ad25b934613 -r 9f9df5c40d1b docend.A4Lulu.tex
diff -r 5ad25b934613 -r 9f9df5c40d1b docend.A5.tex
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docend.A5.tex	Fri Aug 09 13:55:59 2013 +0100
@@ -0,0 +1,3 @@
+\pagecolor{havocpurple}
+\thispagestyle{empty}
+\mbox{}
diff -r 5ad25b934613 -r 9f9df5c40d1b docend.Nook.tex
diff -r 5ad25b934613 -r 9f9df5c40d1b docsetup.A4.tex
--- a/docsetup.A4.tex	Fri Aug 09 10:59:03 2013 +0100
+++ b/docsetup.A4.tex	Fri Aug 09 13:55:59 2013 +0100
@@ -6,6 +6,7 @@
 \newfontfamily\havocfont[Scale=3.5]{English Towne}
 
 \newcommand*{\titleBoD}{\begingroup
+\pagecolor{havocpurple}
 \centering
 {\Large \havocfont{Ye}}\\[\baselineskip]
 {\Huge \havocfont{Crie Havock}}\\[\baselineskip]
@@ -18,4 +19,9 @@
 \includegraphics[width=0.5\textwidth,keepaspectratio]{buzzard}
 \vfill
 {Compiled by Jim Hague}\\
+\newpage
+\pagecolor{white}
 \endgroup}
+
+% Page appearance.
+\newcommand*{\pagestylemod}{}
diff -r 5ad25b934613 -r 9f9df5c40d1b docsetup.A4Lulu.tex
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/docsetup.A4Lulu.tex	Fri Aug 09 13:55:59 2013 +0100
@@ -0,0 +1,25 @@
+\usepackage[margin=0.75in]{geometry}
+
+% -----
+
+% Title page
+\newfontfamily\havocfont[Scale=3.5]{English Towne}
+
+\newcommand*{\titleBoD}{\begingroup
+\centering
+{\Large \havocfont{Ye}}\\[\baselineskip]
+{\Huge \havocfont{Crie Havock}}\\[\baselineskip]
+{\Large \havocfont{Booke of}}\\[\baselineskip]
+{\Huge \havocfont{\instrument Dottes}}\\[\baselineskip]
+\vfill
+{\Huge \input{title.txt}}\\[\baselineskip]
+{\Large \input{subtitle.txt}}\\[\baselineskip]
+\vfill
+\includegraphics[width=0.5\textwidth,keepaspectratio]{buzzard}
+\vfill
+{Compiled by Jim Hague}\\
+\newpage
+\endgroup}
+
+% Page appearance.
+\newcommand*{\pagestylemod}{}
diff -r 5ad25b934613 -r 9f9df5c40d1b docsetup.A5.tex
--- a/docsetup.A5.tex	Fri Aug 09 10:59:03 2013 +0100
+++ b/docsetup.A5.tex	Fri Aug 09 13:55:59 2013 +0100
@@ -6,6 +6,7 @@
 \newfontfamily\havocfont[Scale=2.1]{English Towne}
 
 \newcommand*{\titleBoD}{\begingroup
+\pagecolor{havocpurple}
 \centering
 {\Large \havocfont{Ye}}\\[\baselineskip]
 {\Huge \havocfont{Crie Havock}}\\[\baselineskip]
@@ -18,4 +19,9 @@
 \includegraphics[width=0.12\textwidth,keepaspectratio]{buzzard}
 \vfill
 {Compiled by Jim Hague}\\
+\newpage
+\pagecolor{white}
 \endgroup}
+
+% Page appearance.
+\newcommand*{\pagestylemod}{}
diff -r 5ad25b934613 -r 9f9df5c40d1b docsetup.Nook.tex
--- a/docsetup.Nook.tex	Fri Aug 09 10:59:03 2013 +0100
+++ b/docsetup.Nook.tex	Fri Aug 09 13:55:59 2013 +0100
@@ -1,4 +1,4 @@
-\usepackage[paperwidth=4.1in,paperheight=5in,left=0.1in,right=0.1in,top=0.5in,bottom=0.5in]{geometry}
+\usepackage[paperwidth=4.1in,paperheight=5in,left=0.1in,right=0.1in,top=0.5in,bottom=0.2in]{geometry}
 
 % -----
 
@@ -19,3 +19,8 @@
 \vfill
 {Compiled by Jim Hague}\\
 \endgroup}
+
+% Page appearance.
+\newcommand*{\pagestylemod}{\begingroup
+\cfoot{}
+\endgroup}
diff -r 5ad25b934613 -r 9f9df5c40d1b dottes.tex
--- a/dottes.tex	Fri Aug 09 10:59:03 2013 +0100
+++ b/dottes.tex	Fri Aug 09 13:55:59 2013 +0100
@@ -97,6 +97,8 @@
 \cfoot{\thepage}
 \renewcommand{\headrulewidth}{0pt}
 
+\pagestylemod
+
 \frontmatter
 
 % No page numbering for now, thanks.
@@ -106,13 +108,10 @@
 
 \newgeometry{margin=0.5in}
 \begin{titlepage}
-\pagecolor{havocpurple}
 \titleBoD
 \end{titlepage}
 \restoregeometry
 
-\pagecolor{white}
-
 % ----- First inside pages. No page numbering here, thanks.
 
 % Publisher info page.
@@ -256,8 +255,6 @@
 
 \backmatter
 
-\pagecolor{havocpurple}
-\thispagestyle{empty}
-\mbox{}
+\input{docend.tex}
 
 \end{document}