From c0d6e005c06d5af130bf23d460b9d88ce922b436 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 25 May 2017 19:14:09 +0100 Subject: [PATCH] Add dust jackets for all print volumes --- README.md | 10 +++++---- hp-dust-jacket.tex | 49 +++++++++++++++++++++++++++++++++++++++++ hpmor-dust-jacket-1.tex | 49 +---------------------------------------- hpmor-dust-jacket-2.tex | 4 ++++ hpmor-dust-jacket-3.tex | 4 ++++ hpmor-dust-jacket-4.tex | 4 ++++ hpmor-dust-jacket-5.tex | 4 ++++ hpmor-dust-jacket-6.tex | 4 ++++ 8 files changed, 76 insertions(+), 52 deletions(-) create mode 100644 hpmor-dust-jacket-2.tex create mode 100644 hpmor-dust-jacket-3.tex create mode 100644 hpmor-dust-jacket-4.tex create mode 100644 hpmor-dust-jacket-5.tex create mode 100644 hpmor-dust-jacket-6.tex diff --git a/README.md b/README.md index fab500b5b..47f9b56db 100644 --- a/README.md +++ b/README.md @@ -6,8 +6,8 @@ Maintainer: Reuben Thomas A LaTeX version of [the popular didactic fan-fiction](http://www.hpmor.com) by Eliezer Yudkowsky, which can make a PDF ebook (one file) or printable books (either one or six -volumes; the latter option is more practical to bind). There is also a dust -jacket for volume 1 (more will be added!). +volumes; the latter option is more practical to bind). There are also dust +jackets for the printable volumes. TeXLive 2015 or later is required to build the book. @@ -35,8 +35,8 @@ and there are no appendices. * `latexmk hpmor`: Build the one-volume PDF `hpmor.pdf` * `latexmk hpmor-N`: Build one of the six individual volumes `hpmor-1.pdf` to `hpmor-6.pdf`. -* `latexmk hpmor-dust-jacket-1`: produce the dust jacket for Volume 1, - `hpmor-dust-jacket-1.pdf`. Note that this requires the corresponding volume, `hpmor-1.pdf`, to have been built first. +* `latexmk hpmor-dust-jacket-N`: produce the dust jacket for Volume N, + `hpmor-dust-jacket-N.pdf`. Note that this requires the corresponding volume, `hpmor-N.pdf`, to have been built first. * `latexmk -c`: Remove files produced by building (except PDFs). * `latexmk -C`: Remove files produced by building (including PDFs). @@ -44,6 +44,8 @@ By default, the dust jackets assume 80gsm plain paper (this affects the thicknes The exact sizes of dust jackets may vary; the current parameters were taken from a commercial printer. They can be adjusted in `hp-dust-jacket.tex` as desired. +Note that the back dust-flap is left for you to add your own text; edit `hp-dust-jacket.tex` and search for “PUT YOUR BACK DUST-FLAP TEXT HERE!”. + ## Contributing diff --git a/hp-dust-jacket.tex b/hp-dust-jacket.tex index 1d3957459..d95721953 100644 --- a/hp-dust-jacket.tex +++ b/hp-dust-jacket.tex @@ -1,3 +1,5 @@ +\input{hp-paper-type} + % N.B. All text and images should be 6mm away from all edges \newcounter{bookpagecount} \setcounter{bookpagecount}{\XeTeXpdfpagecount"\bookfile"} @@ -19,3 +21,50 @@ \input{hp-header} \usepackage{contour} + +\input{hp-title} + +\begin{document} +{ +\setbookcover{bgcolor}{whole}{color=black} +\setbookcover{fgfirst}{remark}{ +\bfseries\color{blue}DUST JACKET} +\setbookcover{bgpic}{front}{cover0.jpg} +\setbookcover{fgfirst}{front}{\hptitle[\coverwidth]{\fullvolumetitle{\volumenumber}}} + +% Spine +\setbookcover{fgfirst}{spine}{ +\centering +\color{white}\scshape +\vspace{0.5cm}\huge \volumenumber\\[2ex]\Large +\vfill +\rotatebox[origin=c]{90}{\contour[120]{black}{\volumetitle}} +\vfill} + +% Back cover +\setbookcover{fgfirst}{back}{ + \centering + \vspace{20mm} + \parbox{110mm}{\color{white}\Large\raggedright +Petunia married a biochemist, and Harry grew up reading science and science fiction. Then came the Hogwarts letter, and a world of intriguing new possibilities to exploit. And new friends, like Hermione Granger, and Professor McGonagall, and Professor Quirrell… +}} + +% Text on the front flap +\setbookcover{fgfirst}{front flap}{ +\centering +\vspace{20mm} +\parbox{40mm}{\color{white}\raggedright\small + HPMOR comes from the world of fan-fiction. With J.~K.~Rowling’s approval, it tells the story of an alternate Harry, an auto-didact rationalist who brings all his powers to bear on the strange new vistas of the world of magic. + + \bigskip The books introduce the reader to the ways of thinking Yudkowsky lays out in his blog, \url{lesswrong.com}.}} + +% Text on the back flap +\setbookcover{fgfirst}{back flap}{ +\centering +\vspace{20mm} +\parbox{40mm}{\color{white}\small\raggedright + PUT YOUR BACK DUST-FLAP TEXT HERE!}} + +\makebookcover +} +\end{document} diff --git a/hpmor-dust-jacket-1.tex b/hpmor-dust-jacket-1.tex index 86be4768f..3ef1d2292 100644 --- a/hpmor-dust-jacket-1.tex +++ b/hpmor-dust-jacket-1.tex @@ -1,51 +1,4 @@ \def\bookfile{hpmor-1.pdf} -\input{hp-paper-type} - -\input{hp-dust-jacket} -\input{hp-title} \input{hpmor-title-1} -\begin{document} -{ -\setbookcover{bgcolor}{whole}{color=black} -\setbookcover{fgfirst}{remark}{ -\bfseries\color{blue}DUST JACKET} -\setbookcover{bgpic}{front}{cover0.jpg} -\setbookcover{fgfirst}{front}{\hptitle[\coverwidth]{\fullvolumetitle{1}}} - -% Spine -\setbookcover{fgfirst}{spine}{ -\centering -\color{white}\scshape -\vspace{0.5cm}\huge 1\\[2ex]\Large -\vfill -\rotatebox[origin=c]{90}{\contour[120]{black}{\volumetitle}} -\vfill} - -% Back cover -\setbookcover{fgfirst}{back}{ - \centering - \vspace{20mm} - \parbox{110mm}{\color{white}\Large\raggedright -Petunia married a biochemist, and Harry grew up reading science and science fiction. Then came the Hogwarts letter, and a world of intriguing new possibilities to exploit. And new friends, like Hermione Granger, and Professor McGonagall, and Professor Quirrell… -}} - -% Text on the front flap -\setbookcover{fgfirst}{front flap}{ -\centering -\vspace{20mm} -\parbox{40mm}{\color{white}\raggedright\small - HPMOR comes from the world of fan-fiction. With J.~K.~Rowling’s approval, it tells the story of an alternate Harry, an auto-didact rationalist who brings all his powers to bear on the strange new vistas of the world of magic. - - \bigskip The books introduce the reader to the ways of thinking Yudkowsky lays out in his blog, \url{lesswrong.com}.}} - -% Text on the back flap -\setbookcover{fgfirst}{back flap}{ -\centering -\vspace{20mm} -\parbox{40mm}{\color{white}\small\raggedright - PUT YOUR BACK DUST-FLAP TEXT HERE!}} - -\makebookcover -} -\end{document} +\input{hp-dust-jacket} diff --git a/hpmor-dust-jacket-2.tex b/hpmor-dust-jacket-2.tex new file mode 100644 index 000000000..380185085 --- /dev/null +++ b/hpmor-dust-jacket-2.tex @@ -0,0 +1,4 @@ +\def\bookfile{hpmor-2.pdf} +\input{hpmor-title-2} + +\input{hp-dust-jacket} diff --git a/hpmor-dust-jacket-3.tex b/hpmor-dust-jacket-3.tex new file mode 100644 index 000000000..8cc00867d --- /dev/null +++ b/hpmor-dust-jacket-3.tex @@ -0,0 +1,4 @@ +\def\bookfile{hpmor-3.pdf} +\input{hpmor-title-3} + +\input{hp-dust-jacket} diff --git a/hpmor-dust-jacket-4.tex b/hpmor-dust-jacket-4.tex new file mode 100644 index 000000000..1ec5e1839 --- /dev/null +++ b/hpmor-dust-jacket-4.tex @@ -0,0 +1,4 @@ +\def\bookfile{hpmor-4.pdf} +\input{hpmor-title-4} + +\input{hp-dust-jacket} diff --git a/hpmor-dust-jacket-5.tex b/hpmor-dust-jacket-5.tex new file mode 100644 index 000000000..9029706ff --- /dev/null +++ b/hpmor-dust-jacket-5.tex @@ -0,0 +1,4 @@ +\def\bookfile{hpmor-5.pdf} +\input{hpmor-title-5} + +\input{hp-dust-jacket} diff --git a/hpmor-dust-jacket-6.tex b/hpmor-dust-jacket-6.tex new file mode 100644 index 000000000..4f530fa80 --- /dev/null +++ b/hpmor-dust-jacket-6.tex @@ -0,0 +1,4 @@ +\def\bookfile{hpmor-6.pdf} +\input{hpmor-title-6} + +\input{hp-dust-jacket}