changeset 334:9f9df5c40d1b

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.
author Jim Hague <jim.hague@acm.org>
date Fri, 09 Aug 2013 13:55:59 +0100
parents 5ad25b934613
children 72a63db1cc43
files docend.A4.tex docend.A4Lulu.tex docend.A5.tex docend.Nook.tex docsetup.A4.tex docsetup.A4Lulu.tex docsetup.A5.tex docsetup.Nook.tex dottes.tex
diffstat 7 files changed, 52 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- /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{}
--- /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{}
--- 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}{}
--- /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}{}
--- 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}{}
--- 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}
--- 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}