annotate dottes.tex @ 326:27f29e8aafea

Add --contains flag to abcfield.py. Currently we rely on any N: field with a Change: subnotice being the first N: field. Add --contains field to abcfield.py to remove this restriction. Also use it to extract new subfield Credit: and add that if present to the tune information in print and on web.
author Jim Hague <jim.hague@acm.org>
date Sun, 04 Aug 2013 22:09:25 +0100
parents 21615733c3f3
children 55afb58d4a9a
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
3 \usepackage{array}
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
4 \usepackage{color}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
5 \usepackage{fontspec}
320
c0262e58abf6 Fix up graphics overflow caused by change to Latex headers.
Jim Hague <jim.hague@acm.org>
parents: 319
diff changeset
6 \usepackage[margin=0.75in]{geometry}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
7 \usepackage{graphicx}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
8 \usepackage{fancyhdr}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
9 \usepackage{longtable}
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
10 \usepackage[UKenglish]{babel}
317
01399eb43c0d Back out accidental change.
Jim Hague <jim.hague@acm.org>
parents: 315
diff changeset
11 \usepackage[UKenglish]{isodate}
267
1b08069e5cc4 Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents: 266
diff changeset
12
1b08069e5cc4 Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents: 266
diff changeset
13 % 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
14 \usepackage{parskip}
1b08069e5cc4 Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents: 266
diff changeset
15
1b08069e5cc4 Change paragraph formatting - no indent, gaps between paragraphs.
Jim Hague <jim.hague@acm.org>
parents: 266
diff changeset
16 % 2 column table of contents.
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
17 \usepackage[toc]{multitoc}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
18
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
19 \usepackage{hyperref}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
20 \hypersetup{
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
21 bookmarks=true,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
22 colorlinks=true,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
23 citecolor=black,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
24 filecolor=black,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
25 linkcolor=black,%
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
26 urlcolor=black
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
27 }
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
28
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
29 % ----- Common variables
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
30
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
31 \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
32 \newcommand{\instrument}{\input{instrument.txt}}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
33
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
34 % Havoc purple is #9900cc.
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
35 \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
36
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
37 % ----- Macros
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
38
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
39 \makeatletter
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
40 \def\ifemptyarg#1{%
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
41 \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
42 \expandafter\@firstoftwo
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
43 \else
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
44 \expandafter\@secondoftwo
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
45 \fi}
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
46 \makeatother
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
47
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
48 % Show the main tune graphic and optional change.
323
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
49 % Args are tune name, tune title, tune subtitle, composer, tune graphic
326
27f29e8aafea Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents: 325
diff changeset
50 % filename, change name, change title, credit.
27f29e8aafea Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents: 325
diff changeset
51 \newcommand{\showtune}[8]{%
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
52 \vfill
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
53 \begin{center}
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
54 \phantomsection
319
cbe9c10b5a3e Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents: 317
diff changeset
55 \begin{tabular*}{\textwidth}{@{} p{0.25\textwidth} @{\extracolsep{\fill}} c >{\raggedleft\arraybackslash}p{0.25\textwidth} @{}}
323
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
56 & \Large{#2} & \emph{#4} \\
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
57 \ifemptyarg{#3}{}{%
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
58 & #3 & \\
319
cbe9c10b5a3e Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents: 317
diff changeset
59 }%
cbe9c10b5a3e Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents: 317
diff changeset
60 \end{tabular*}
cbe9c10b5a3e Render tune title, subtitle and composer in Latex/HTML and not in the image.
Jim Hague <jim.hague@acm.org>
parents: 317
diff changeset
61 \hypertarget{#1}{%
323
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
62 \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5}
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
63 }
323
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
64 \addcontentsline{toc}{section}{#2}
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
65 \end{center}
326
27f29e8aafea Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents: 325
diff changeset
66 \ifemptyarg{#8}{}{%
27f29e8aafea Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents: 325
diff changeset
67 From {#8}.
27f29e8aafea Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents: 325
diff changeset
68 }%
323
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
69 \ifemptyarg{#6}{}{%
326
27f29e8aafea Add --contains flag to abcfield.py.
Jim Hague <jim.hague@acm.org>
parents: 325
diff changeset
70 Change: \hyperlink{#6}{#7}.
312
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
71 }%
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
72 }
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
73
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
74 % 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
75 % 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
76 \newcommand{\showfirstline}[3]{%
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
77 \hyperlink{#1}{#2} & %
1a240d1e2032 Go back to using the filename as the hyperlink name.
Jim Hague <jim.hague@acm.org>
parents: 320
diff changeset
78 \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
79 }
8bc92e044e0a Move tune and first line inclusion code into macros.
Jim Hague <jim.hague@acm.org>
parents: 311
diff changeset
80
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
81 % ----- Paper size document setup
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
82
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
83 \input{docsetup.tex}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
84
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
85 % ----- Appearance
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
86
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
87 % 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
88 \setmainfont{Times New Roman}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
89
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
90 % Don't show section numbers.
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
91 \setcounter{secnumdepth}{-1}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
92
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
93 % -----
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
94
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
95 \begin{document}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
96
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
97 % ----- Headers and footers
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
98
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
99 \pagestyle{fancyplain}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
100 \fancyhf{}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
101 \cfoot{\thepage}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
102 \renewcommand{\headrulewidth}{0pt}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
103
269
3b40937a3f95 Convert from article to a one-sided book.
Jim Hague <jim.hague@acm.org>
parents: 268
diff changeset
104 \frontmatter
3b40937a3f95 Convert from article to a one-sided book.
Jim Hague <jim.hague@acm.org>
parents: 268
diff changeset
105
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
106 % No page numbering for now, thanks.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
107 \pagenumbering{gobble}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
108
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
109 % ----- Title page
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
110
307
217768907fa8 Change how page geometry is handled.
Jim Hague <jim.hague@acm.org>
parents: 306
diff changeset
111 \newgeometry{margin=0.5in}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
112 \begin{titlepage}
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
113 \pagecolor{havocpurple}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
114 \titleBoD
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
115 \end{titlepage}
307
217768907fa8 Change how page geometry is handled.
Jim Hague <jim.hague@acm.org>
parents: 306
diff changeset
116 \restoregeometry
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
117
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
118 \pagecolor{white}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
119
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
120 % ----- First inside pages. No page numbering here, thanks.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
121
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
122 % Publisher info page.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
123 \vspace*{\fill}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
124
325
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
125 {\small \raggedright
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
126
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
127 \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
128
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
129 Tune collection and presentation is copyright \copyright{} Jim Hague 2013
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
130 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
131 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
132 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
133
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
134 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
135 (\url{www.paulhardy.net}).
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
136
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
137 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
138 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
139
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
140 First published in the UK 2013 by Jim Hague.
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
141
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
142 The Booke of Dottes is a constant work in progress. The latest version
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
143 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
144 This is issue \build, generated \today.
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
145
325
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
146 \textbf{Technical data}
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
147
325
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
148 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
149 (\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
150 \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
151 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
152
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
153 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
154 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
155 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
156 Linux and related software.
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
157
21615733c3f3 Do publisher info page based on Dad's book.
Jim Hague <jim.hague@acm.org>
parents: 324
diff changeset
158 }
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
159
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
160 \newpage
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
161
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
162 % Dedication page.
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
163
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
164 \vspace*{\fill}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
165
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
166 \begin{center}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
167 {\Large to Jane} \\
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
168 {\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
169 \end{center}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
170
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
171 \vspace*{\fill}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
172
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
173 \newpage
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
174
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
175 % ----- Here we go with numbered frontmatter pages.
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
176
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
177 \pagenumbering{roman}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
178
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
179 \chapter{Introduction}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
180
308
22759794b31f Revise intro wording on documents and website.
Jim Hague <jim.hague@acm.org>
parents: 307
diff changeset
181 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
182 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
183 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
184
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
185 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
186 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
187 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
188
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
189 \input{intro.txt}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
190
268
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
191 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
192 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
193 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
194 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
195
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
196 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
197 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
198 pages with \emph{Trad.} or \emph{Anon.}, I have left them unattributed.
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
199 Some, however, have an identifiable author or arranger and copyright
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
200 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
201 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
202 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
203 If this is not the case, please contact me at
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
204 \href{mailto:dottes@cryhavoc.org.uk}{\texttt{dottes@cryhavoc.org.uk}} and I will
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
205 remove the offending tune.
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
206
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
207 \section{About Cry Havoc}
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
208
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
209 Cry Havoc are a friendly mixed Cotswold Morris side based in Botley, Oxford.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
210 We practice between September and April on Thursday evenings at the
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
211 Botley Womens' Institute Hall, North Hinksey Lane, Botley, Oxford OX2 0LT and
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
212 dance out in the summer months at locations around Oxfordshire.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
213
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
214 Find out more at \url{http://www.cryhavoc.org.uk/}, or email
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
215 \href{mailto:bag@cryhavoc.org.uk}{\texttt{bag@cryhavoc.org.uk}} for more
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
216 information. Would-be dancers or musicians always welcome.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
217
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
218 The Booke of Dottes was first produced to mark Cry Havoc's 20th
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
219 anniversary in 2013.
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
220
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
221 % -----
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
222
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
223 \tableofcontents
268
eff63e0fb8c8 Revise introduction and add vestigial 'About Cry Havoc' section.
Jim Hague <jim.hague@acm.org>
parents: 267
diff changeset
224
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
225 % -----
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
226
269
3b40937a3f95 Convert from article to a one-sided book.
Jim Hague <jim.hague@acm.org>
parents: 268
diff changeset
227 \mainmatter
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
228
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
229 \addcontentsline{toc}{chapter}{Tunes}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
230
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
231 \input{tunes.tex}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
232
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
233 % -----
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
234
324
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
235 \cleardoublepage
c1c7e993a180 Revise printed Booke.
Jim Hague <jim.hague@acm.org>
parents: 323
diff changeset
236
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
237 \chapter{List of tune first lines}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
238
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
239 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
240 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
241 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
242
315
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
243 {\renewcommand{\arraystretch}{2.5}
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
244 \setlength\LTleft{0pt}
306
c3b300378738 Revise first lines table.
Jim Hague <jim.hague@acm.org>
parents: 305
diff changeset
245 \setlength\LTright{\fill}
315
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
246 \begin{longtable}{@{}>{\raggedright\arraybackslash}m{0.2\textwidth}r@{}}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
247 \input{firstlines.tex}
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
248 \end{longtable}
315
b4d568b70c33 Revise first line table.
Jim Hague <jim.hague@acm.org>
parents: 312
diff changeset
249 }
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
250
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
251 % ----- Back cover page. A plain purple page.
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
252
294
35403bccf334 Make only post-tune list items back matter.
Jim Hague <jim.hague@acm.org>
parents: 282
diff changeset
253 \backmatter
282
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
254
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
255 \pagecolor{havocpurple}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
256 \thispagestyle{empty}
ced1d1ba42f6 Various revisions of printed book presentation.
Jim Hague <jim.hague@acm.org>
parents: 269
diff changeset
257 \mbox{}
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
258
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
259 \end{document}