annotate docsetup.Nook.tex @ 360:01ded8741361

Use server-side includes (with Apache XBitHack setting) in web. This means that we can have one main web page, dottes.html, for each book and include the intro and tunelist to make the page. This removes the separate header and footer components. Perhaps we should use a template engine instead to generate the output. That means choosing one. And preferably one that isn't aimed only at HTML so we could use it for the printed books. More research required.
author Jim Hague <jim.hague@acm.org>
date Wed, 21 Aug 2013 10:32:50 +0100
parents 9f9df5c40d1b
children 69a7499817c8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
334
9f9df5c40d1b Move cover page colour and blank coloured end page to doc-specific files.
Jim Hague <jim.hague@acm.org>
parents: 331
diff changeset
1 \usepackage[paperwidth=4.1in,paperheight=5in,left=0.1in,right=0.1in,top=0.5in,bottom=0.2in]{geometry}
331
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
2
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
3 % -----
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
4
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
5 % Title page
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
6 \newfontfamily\havocfont[Scale=1.5]{English Towne}
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
7
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
8 \newcommand*{\titleBoD}{\begingroup
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
9 \centering
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
10 {\Large \havocfont{Ye}}\\[\baselineskip]
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
11 {\Huge \havocfont{Crie Havock}}\\[\baselineskip]
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
12 {\Large \havocfont{Booke of}}\\[\baselineskip]
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
13 {\Huge \havocfont{\instrument Dottes}}\\[\baselineskip]
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
14 \vfill
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
15 {\huge \input{title.txt}}\\%[\baselineskip]
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
16 {\large \input{subtitle.txt}}\\[\baselineskip]
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
17 \vfill
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
18 \includegraphics[width=0.12\textwidth,keepaspectratio]{buzzard}
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
19 \vfill
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
20 {Compiled by Jim Hague}\\
583c06d0e9ef Add Nook-sized PDF output.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
21 \endgroup}
334
9f9df5c40d1b Move cover page colour and blank coloured end page to doc-specific files.
Jim Hague <jim.hague@acm.org>
parents: 331
diff changeset
22
9f9df5c40d1b Move cover page colour and blank coloured end page to doc-specific files.
Jim Hague <jim.hague@acm.org>
parents: 331
diff changeset
23 % Page appearance.
9f9df5c40d1b Move cover page colour and blank coloured end page to doc-specific files.
Jim Hague <jim.hague@acm.org>
parents: 331
diff changeset
24 \newcommand*{\pagestylemod}{\begingroup
9f9df5c40d1b Move cover page colour and blank coloured end page to doc-specific files.
Jim Hague <jim.hague@acm.org>
parents: 331
diff changeset
25 \cfoot{}
9f9df5c40d1b Move cover page colour and blank coloured end page to doc-specific files.
Jim Hague <jim.hague@acm.org>
parents: 331
diff changeset
26 \endgroup}