From a16ad7de0c8a9ceefdb25bdf31191957e9f4d55f Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Fri, 9 Aug 2013 13:55:59 +0100 Subject: [PATCH] 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. --- docend.A4.tex | 3 +++ docend.A4Lulu.tex | 0 docend.A5.tex | 3 +++ docend.Nook.tex | 0 docsetup.A4.tex | 6 ++++++ docsetup.A4Lulu.tex | 25 +++++++++++++++++++++++++ docsetup.A5.tex | 6 ++++++ docsetup.Nook.tex | 7 ++++++- dottes.tex | 9 +++------ 9 files changed, 52 insertions(+), 7 deletions(-) create mode 100644 docend.A4.tex create mode 100644 docend.A4Lulu.tex create mode 100644 docend.A5.tex create mode 100644 docend.Nook.tex create mode 100644 docsetup.A4Lulu.tex diff --git a/docend.A4.tex b/docend.A4.tex new file mode 100644 index 0000000..c54e624 --- /dev/null +++ b/docend.A4.tex @@ -0,0 +1,3 @@ +\pagecolor{havocpurple} +\thispagestyle{empty} +\mbox{} diff --git a/docend.A4Lulu.tex b/docend.A4Lulu.tex new file mode 100644 index 0000000..e69de29 diff --git a/docend.A5.tex b/docend.A5.tex new file mode 100644 index 0000000..c54e624 --- /dev/null +++ b/docend.A5.tex @@ -0,0 +1,3 @@ +\pagecolor{havocpurple} +\thispagestyle{empty} +\mbox{} diff --git a/docend.Nook.tex b/docend.Nook.tex new file mode 100644 index 0000000..e69de29 diff --git a/docsetup.A4.tex b/docsetup.A4.tex index 019eba0..90599e2 100644 --- a/docsetup.A4.tex +++ b/docsetup.A4.tex @@ -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 --git a/docsetup.A4Lulu.tex b/docsetup.A4Lulu.tex new file mode 100644 index 0000000..4a42300 --- /dev/null +++ b/docsetup.A4Lulu.tex @@ -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 --git a/docsetup.A5.tex b/docsetup.A5.tex index e7fa3ba..2f21ee5 100644 --- a/docsetup.A5.tex +++ b/docsetup.A5.tex @@ -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 --git a/docsetup.Nook.tex b/docsetup.Nook.tex index 549fc0e..6e0d4a7 100644 --- a/docsetup.Nook.tex +++ b/docsetup.Nook.tex @@ -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 --git a/dottes.tex b/dottes.tex index 3d40349..980731d 100644 --- a/dottes.tex +++ b/dottes.tex @@ -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 @@ tune first lines to help you figure out what it is in time to join in. \backmatter -\pagecolor{havocpurple} -\thispagestyle{empty} -\mbox{} +\input{docend.tex} \end{document}