Mercurial > dottes
annotate dottes.tex @ 962:cb5109fbaef0
Added tag build-default-349 for changeset fc2b75f6c284
author | Jenkins Build Manager <jenkins@cryhavoc.org.uk> |
---|---|
date | Wed, 07 Aug 2019 11:25:30 +0100 |
parents | 2e51b0787a54 |
children | 514bf66183ca |
rev | line source |
---|---|
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
1 \input{docclass.tex} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
2 |
315 | 3 \usepackage{array} |
955
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
4 \usepackage{calc} |
869
7cc06a68a572
Add optional image caption taken from <section>/image.md.
Jim Hague <jim.hague@acm.org>
parents:
860
diff
changeset
|
5 \usepackage{caption} |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
6 \usepackage{color} |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
7 \usepackage{fontspec} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
8 \usepackage{graphicx} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
9 \usepackage{fancyhdr} |
955
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
10 \usepackage{ifthen} |
893
79dcae708ea9
Attempt to avoid widow header in bumper booke A5.
Jim Hague <jim.hague@acm.org>
parents:
869
diff
changeset
|
11 \usepackage[defaultlines=4,all]{nowidow} |
330
473d335235b8
Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents:
329
diff
changeset
|
12 \usepackage{tabularx} |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
13 \usepackage{longtable} |
900
7915de1e09b0
Try again with firstline section header orphans.
Jim Hague <jim.hague@acm.org>
parents:
893
diff
changeset
|
14 \usepackage{needspace} |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
15 \usepackage[UKenglish]{babel} |
317 | 16 \usepackage[UKenglish]{isodate} |
267
1b08069e5cc4
Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents:
266
diff
changeset
|
17 |
1b08069e5cc4
Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents:
266
diff
changeset
|
18 % Non-indented paragraphs with space between them. |
1b08069e5cc4
Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents:
266
diff
changeset
|
19 \usepackage{parskip} |
1b08069e5cc4
Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents:
266
diff
changeset
|
20 |
1b08069e5cc4
Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents:
266
diff
changeset
|
21 % 2 column table of contents. |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
22 \usepackage[toc]{multitoc} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
23 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
24 \usepackage{hyperref} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
25 \hypersetup{ |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
26 colorlinks=true,% |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
27 citecolor=black,% |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
28 filecolor=black,% |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
29 linkcolor=black,% |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
30 urlcolor=black |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
31 } |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
32 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
33 % ----- Common variables |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
34 |
312
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
35 \newcommand{\build}{\input{buildno.txt}} |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
36 \newcommand{\instrument}{\input{instrument.txt}} |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
37 |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
38 % Havoc purple is #9900cc. |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
39 \definecolor{havocpurple}{rgb}{0.597,0,0.797} |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
40 |
312
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
41 % ----- Macros |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
42 |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
43 \makeatletter |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
44 \def\ifemptyarg#1{% |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
45 \if\relax\detokenize{#1}\relax % H. Oberdiek |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
46 \expandafter\@firstoftwo |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
47 \else |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
48 \expandafter\@secondoftwo |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
49 \fi} |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
50 \makeatother |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
51 |
954
48386452b36a
Don't \cleardoublepage before mainmatter or backmatter.
Jim Hague <jim.hague@acm.org>
parents:
912
diff
changeset
|
52 % Replace \mainmatter with one that does a \clearpage |
48386452b36a
Don't \cleardoublepage before mainmatter or backmatter.
Jim Hague <jim.hague@acm.org>
parents:
912
diff
changeset
|
53 % not a \cleardoublepage. |
48386452b36a
Don't \cleardoublepage before mainmatter or backmatter.
Jim Hague <jim.hague@acm.org>
parents:
912
diff
changeset
|
54 \makeatletter |
48386452b36a
Don't \cleardoublepage before mainmatter or backmatter.
Jim Hague <jim.hague@acm.org>
parents:
912
diff
changeset
|
55 \renewcommand\mainmatter{% |
48386452b36a
Don't \cleardoublepage before mainmatter or backmatter.
Jim Hague <jim.hague@acm.org>
parents:
912
diff
changeset
|
56 \clearpage |
48386452b36a
Don't \cleardoublepage before mainmatter or backmatter.
Jim Hague <jim.hague@acm.org>
parents:
912
diff
changeset
|
57 \@mainmattertrue |
48386452b36a
Don't \cleardoublepage before mainmatter or backmatter.
Jim Hague <jim.hague@acm.org>
parents:
912
diff
changeset
|
58 \pagenumbering{arabic}} |
48386452b36a
Don't \cleardoublepage before mainmatter or backmatter.
Jim Hague <jim.hague@acm.org>
parents:
912
diff
changeset
|
59 \makeatother |
48386452b36a
Don't \cleardoublepage before mainmatter or backmatter.
Jim Hague <jim.hague@acm.org>
parents:
912
diff
changeset
|
60 |
312
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
61 % Show the main tune graphic and optional change. |
729
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
62 % Args are: |
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
63 % 1. Tune name |
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
64 % 2. Tune title |
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
65 % 3. Tune subtitle |
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
66 % 4. Tune full title |
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
67 % 5. Tune tradition |
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
68 % 6. Tune composer |
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
69 % 7. Tune parts |
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
70 % 8. Tune graphic filename |
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
71 \newcommand{\showtune}[8]{% |
330
473d335235b8
Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents:
329
diff
changeset
|
72 \phantomsection |
473d335235b8
Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents:
329
diff
changeset
|
73 \begin{tabularx}{\textwidth}{LCR} |
729
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
74 #7 & \hypertarget{#1}{\Large{#2}} & \emph{#6} \tabularnewline |
329 | 75 \ifemptyarg{#3}{}{% |
611
b6b80aca673d
It seems \tabularnewline is better than \\ in tables.
Jim Hague <jim.hague@acm.org>
parents:
603
diff
changeset
|
76 & #3 & \tabularnewline |
330
473d335235b8
Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents:
329
diff
changeset
|
77 } |
473d335235b8
Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents:
329
diff
changeset
|
78 \multicolumn{3}{c}{% |
729
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
79 \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#8}% |
330
473d335235b8
Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents:
329
diff
changeset
|
80 }\tabularnewline |
473d335235b8
Put tune title, image and following content into a table.
Jim Hague <jim.hague@acm.org>
parents:
329
diff
changeset
|
81 \end{tabularx} |
729
e338d757fdca
Use full title in printed version.
Jim Hague <jim.hague@acm.org>
parents:
712
diff
changeset
|
82 \addcontentsline{toc}{section}{#4} |
312
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
83 } |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
84 |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
85 % Show the tune first line. Generate table row. |
323
1a240d1e2032
Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents:
320
diff
changeset
|
86 % Args are the tune name, tune title and the first line graphic filename. |
1a240d1e2032
Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents:
320
diff
changeset
|
87 \newcommand{\showfirstline}[3]{% |
1a240d1e2032
Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents:
320
diff
changeset
|
88 \hyperlink{#1}{#2} & % |
1a240d1e2032
Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents:
320
diff
changeset
|
89 \raisebox{-.4\height}{\includegraphics[width=0.77\textwidth]{#3}} \\ |
312
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
90 } |
8bc92e044e0a
Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents:
311
diff
changeset
|
91 |
814
f5f6517a8bdf
Add section picture to the section title page on printed Bookes only.
Jim Hague <jim.hague@acm.org>
parents:
799
diff
changeset
|
92 % Show the section graphic. |
f5f6517a8bdf
Add section picture to the section title page on printed Bookes only.
Jim Hague <jim.hague@acm.org>
parents:
799
diff
changeset
|
93 % Args are the graphic filename. |
869
7cc06a68a572
Add optional image caption taken from <section>/image.md.
Jim Hague <jim.hague@acm.org>
parents:
860
diff
changeset
|
94 \newcommand{\showsectiongraphic}[2]{% |
7cc06a68a572
Add optional image caption taken from <section>/image.md.
Jim Hague <jim.hague@acm.org>
parents:
860
diff
changeset
|
95 \begin{figure}[h!] |
7cc06a68a572
Add optional image caption taken from <section>/image.md.
Jim Hague <jim.hague@acm.org>
parents:
860
diff
changeset
|
96 \begin{center} |
7cc06a68a572
Add optional image caption taken from <section>/image.md.
Jim Hague <jim.hague@acm.org>
parents:
860
diff
changeset
|
97 \includegraphics[height=0.60\textheight,keepaspectratio]{#1} |
7cc06a68a572
Add optional image caption taken from <section>/image.md.
Jim Hague <jim.hague@acm.org>
parents:
860
diff
changeset
|
98 \end{center} |
7cc06a68a572
Add optional image caption taken from <section>/image.md.
Jim Hague <jim.hague@acm.org>
parents:
860
diff
changeset
|
99 \ifemptyarg{#2}{}{\caption*{#2}} |
7cc06a68a572
Add optional image caption taken from <section>/image.md.
Jim Hague <jim.hague@acm.org>
parents:
860
diff
changeset
|
100 \end{figure} |
814
f5f6517a8bdf
Add section picture to the section title page on printed Bookes only.
Jim Hague <jim.hague@acm.org>
parents:
799
diff
changeset
|
101 } |
f5f6517a8bdf
Add section picture to the section title page on printed Bookes only.
Jim Hague <jim.hague@acm.org>
parents:
799
diff
changeset
|
102 |
955
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
103 % Add blank pages to make total page count up to a multiple |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
104 % Args are: |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
105 % 1. Multiple desired |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
106 % 2. Pages before start of current page count |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
107 \newcounter{modpage} |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
108 \newcounter{modpageno} |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
109 \newcounter{modpagenodiv} |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
110 \newcommand{\padpages}[2]{% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
111 \pagestyle{empty}% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
112 \setcounter{modpageno}{\thepage + #2}% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
113 \setcounter{modpagenodiv}{\themodpageno/#1}% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
114 \setcounter{modpage}{\themodpageno - #1*\themodpagenodiv}% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
115 \ifthenelse{\themodpage=0}% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
116 {\relax}% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
117 {\setcounter{modpage}{#1 - \themodpage}% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
118 \whiledo{\themodpage>0}{% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
119 \mbox{}\clearpage\mbox{}% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
120 \setcounter{modpage}{\themodpage - 1}% |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
121 }% end whiledo |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
122 }% end ifthenelse |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
123 }% end padpages |
2324285ba90b
Round A4 up to a multiple of 4 total pages.
Jim Hague <jim.hague@acm.org>
parents:
954
diff
changeset
|
124 |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
125 % ----- Paper size document setup |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
126 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
127 \input{docsetup.tex} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
128 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
129 % ----- Appearance |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
130 |
324 | 131 % Lettering in the tune images is in Times, so go with that for consistency. |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
132 \setmainfont{Times New Roman} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
133 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
134 % Don't show section numbers. |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
135 \setcounter{secnumdepth}{-1} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
136 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
137 % ----- |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
138 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
139 \begin{document} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
140 |
324 | 141 % ----- Headers and footers |
142 | |
143 \pagestyle{fancyplain} | |
144 \fancyhf{} | |
145 \cfoot{\thepage} | |
146 \renewcommand{\headrulewidth}{0pt} | |
147 | |
334
9f9df5c40d1b
Move cover page colour and blank coloured end page to doc-specific files.
Jim Hague <jim.hague@acm.org>
parents:
332
diff
changeset
|
148 \pagestylemod |
9f9df5c40d1b
Move cover page colour and blank coloured end page to doc-specific files.
Jim Hague <jim.hague@acm.org>
parents:
332
diff
changeset
|
149 |
269
3b40937a3f95
Convert from article to a one-sided book.
Jim Hague <jim.hague@acm.org>
parents:
268
diff
changeset
|
150 \frontmatter |
3b40937a3f95
Convert from article to a one-sided book.
Jim Hague <jim.hague@acm.org>
parents:
268
diff
changeset
|
151 |
324 | 152 % No page numbering for now, thanks. |
153 \pagenumbering{gobble} | |
154 | |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
155 % ----- Title page |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
156 |
307
217768907fa8
Change how page geometry is handled.
Jim Hague <jim.hague@acm.org>
parents:
306
diff
changeset
|
157 \newgeometry{margin=0.5in} |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
158 \begin{titlepage} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
159 \titleBoD |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
160 \end{titlepage} |
307
217768907fa8
Change how page geometry is handled.
Jim Hague <jim.hague@acm.org>
parents:
306
diff
changeset
|
161 \restoregeometry |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
162 |
324 | 163 % ----- First inside pages. No page numbering here, thanks. |
164 | |
165 % Publisher info page. | |
166 \vspace*{\fill} | |
167 | |
325
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
168 {\small \raggedright |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
169 |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
170 \textbf{Ye Crie Havoc Booke of Dottes} |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
171 |
855
6a799a58b62d
Update copyright to 2019 and commit to a print edition in 2019.
Jim Hague <jim.hague@acm.org>
parents:
814
diff
changeset
|
172 Tune collection and presentation is copyright \copyright{} Jim Hague 2013-2019 |
325
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
173 and is licensed under a Creative Commons |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
174 Attribution-NonCommercial-ShareAlike 2.0 UK: England \& Wales License. |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
175 Details at \url{http://creativecommons.org/licenses/by-nc-sa/2.0/uk/}. |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
176 |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
177 Some tunes are reproduced from Paul Hardy's Session Tunebook |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
178 (\url{www.paulhardy.net}). |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
179 |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
180 The right of Jim Hague to be identified as the author of this work has been |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
181 asserted by him in accordance with the Copyright, Designs and Patents Act 1998. |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
182 |
859
743b0abf73c6
Add line break for 2nd editing record in pub info.
Jim Hague <jim.hague@acm.org>
parents:
855
diff
changeset
|
183 First published in the UK 2013 by Jim Hague.\\ |
855
6a799a58b62d
Update copyright to 2019 and commit to a print edition in 2019.
Jim Hague <jim.hague@acm.org>
parents:
814
diff
changeset
|
184 Second printed edition 2019. |
324 | 185 |
186 The Booke of Dottes is a constant work in progress. The latest version | |
187 is always available from \url{http://dottes.cryhavoc.org.uk/}. | |
325
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
188 This is issue \build, generated \today. |
324 | 189 |
325
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
190 \textbf{Technical data} |
324 | 191 |
325
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
192 Book sources can be found at in a Mercurial |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
193 (\url{http://mercurial.selenic.com}) repository at |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
194 \url{http://hg.cryhavoc.org.uk/dottes/}. Tunes are |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
195 in abc notation (\url{http://abcnotation.com/}). |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
196 |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
197 Music typeset by abcm2ps (\url{http://moinejf.free.fr/}). |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
198 Document typeset by {\LaTeX} using {\TeX} Live on a Debian Linux system. |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
199 Grateful thanks to all contributors to abc, {\LaTeX}, Debian, |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
200 Linux and related software. |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
201 |
21615733c3f3
Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents:
324
diff
changeset
|
202 } |
324 | 203 |
204 \newpage | |
205 | |
206 % Dedication page. | |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
207 |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
208 \vspace*{\fill} |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
209 |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
210 \begin{center} |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
211 {\Large to Jane} \\ |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
212 {\large \emph{for the music, and the dance}} |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
213 \end{center} |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
214 |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
215 \vspace*{\fill} |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
216 |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
217 \newpage |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
218 |
324 | 219 % ----- Here we go with numbered frontmatter pages. |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
220 |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
221 \pagenumbering{roman} |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
222 |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
223 \chapter{Introduction} |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
224 |
308
22759794b31f
Revise intro wording on documents and website.
Jim Hague <jim.hague@acm.org>
parents:
307
diff
changeset
|
225 Music forms a core part of Cry Havoc Botley Morris. Of course, the |
22759794b31f
Revise intro wording on documents and website.
Jim Hague <jim.hague@acm.org>
parents:
307
diff
changeset
|
226 musicians provide the music we dance to. And after every practice or |
22759794b31f
Revise intro wording on documents and website.
Jim Hague <jim.hague@acm.org>
parents:
307
diff
changeset
|
227 dance-out, there is a music-playing session. |
268
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
228 |
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
229 Havoc musicians come in all shades of experience and ability. |
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
230 This collection is intended to help those like me who are inexpert with |
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
231 instrument and folk music generally, but have a little musical background. |
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
232 |
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
233 Being folk tunes, many of the tunes herein have many variations. |
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
234 The music presented here is my attempt at reflecting what the musicians |
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
235 of Cry Havoc play. I'm in no way suggesting that they are |
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
236 in any way \emph{correct}. This is just how we go about them. |
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
237 |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
238 The majority of tunes in this book have no identifiable author, and |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
239 are unquestionably in the public domain. Rather than litter the |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
240 pages with \emph{Trad.} or \emph{Anon.}, I have left them unattributed. |
358
357244e2939d
Change wording to say some tunes MAY have an identifiable author.
Jim Hague <jim.hague@acm.org>
parents:
340
diff
changeset
|
241 Some, however, may have an identifiable author or arranger and copyright |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
242 unquestionably remains with that person. I believe these tunes to |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
243 enjoy widespread currency on the folk music scene, and therefore there |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
244 is at least tacit approval by the authors for their dissemination. |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
245 If this is not the case, please contact me at |
327
55afb58d4a9a
Make emails \url{} to that they will wrap at the end of a line.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
246 \href{mailto:dottes@cryhavoc.org.uk}{\url{dottes@cryhavoc.org.uk}} and I will |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
247 remove the offending tune. |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
248 |
784 | 249 Finally, many, many thanks to all who have helped me with this project, |
912
eaa779540c4b
Kate's chord changes and fixes for Morris tunes.
Jim Hague <jim.hague@acm.org>
parents:
900
diff
changeset
|
250 in particular fellow Havocs KateK, Nerys, MickP, Susie and Ed. And most |
784 | 251 especially to Jane, without whose enthusiasm, support and encouragement |
252 this would never have been possible. | |
253 | |
324 | 254 \section{About Cry Havoc} |
255 | |
256 Cry Havoc are a friendly mixed Cotswold Morris side based in Botley, Oxford. | |
257 We practice between September and April on Thursday evenings at the | |
258 Botley Womens' Institute Hall, North Hinksey Lane, Botley, Oxford OX2 0LT and | |
259 dance out in the summer months at locations around Oxfordshire. | |
260 | |
261 Find out more at \url{http://www.cryhavoc.org.uk/}, or email | |
327
55afb58d4a9a
Make emails \url{} to that they will wrap at the end of a line.
Jim Hague <jim.hague@acm.org>
parents:
326
diff
changeset
|
262 \href{mailto:bag@cryhavoc.org.uk}{\url{bag@cryhavoc.org.uk}} for more |
324 | 263 information. Would-be dancers or musicians always welcome. |
264 | |
265 The Booke of Dottes was first produced to mark Cry Havoc's 20th | |
674
49d72092b45e
Update copyright date and mention 25th anniversary.
Jim Hague <jim.hague@acm.org>
parents:
611
diff
changeset
|
266 anniversary in 2013, and substantially updated for our 25th anniversary |
49d72092b45e
Update copyright date and mention 25th anniversary.
Jim Hague <jim.hague@acm.org>
parents:
611
diff
changeset
|
267 in 2018. |
324 | 268 |
269 % ----- | |
270 | |
271 \tableofcontents | |
268
eff63e0fb8c8
Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents:
267
diff
changeset
|
272 |
957
2e51b0787a54
Update page padding to work with variable length front matter.
Jim Hague <jim.hague@acm.org>
parents:
955
diff
changeset
|
273 \newcounter{lastfrontmatterpage} |
2e51b0787a54
Update page padding to work with variable length front matter.
Jim Hague <jim.hague@acm.org>
parents:
955
diff
changeset
|
274 \setcounter{lastfrontmatterpage}{\value{page}} |
2e51b0787a54
Update page padding to work with variable length front matter.
Jim Hague <jim.hague@acm.org>
parents:
955
diff
changeset
|
275 |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
276 % ----- |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
277 |
269
3b40937a3f95
Convert from article to a one-sided book.
Jim Hague <jim.hague@acm.org>
parents:
268
diff
changeset
|
278 \mainmatter |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
279 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
280 \input{tunes.tex} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
281 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
282 % ----- |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
283 |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
284 \chapter{List of tune first lines} |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
285 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
286 You know the feeling. Everyone has just launched into a well-loved tune. |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
287 You've heard it before, but don't remember the name. So here's a list of |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
288 tune first lines to help you figure out what it is in time to join in. |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
289 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
290 \input{firstlines.tex} |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
291 |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
292 % ----- Back cover page. A plain purple page. |
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
293 |
294
35403bccf334
Make only post-tune list items back matter.
Jim Hague <jim.hague@acm.org>
parents:
282
diff
changeset
|
294 \backmatter |
282
ced1d1ba42f6
Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents:
269
diff
changeset
|
295 |
334
9f9df5c40d1b
Move cover page colour and blank coloured end page to doc-specific files.
Jim Hague <jim.hague@acm.org>
parents:
332
diff
changeset
|
296 \input{docend.tex} |
266
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
297 |
06e140f48543
Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff
changeset
|
298 \end{document} |