\input{docclass.tex}

\usepackage{color}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{longtable}
\usepackage[UKenglish]{babel}
\usepackage[UKenglish]{isodate}

% Non-indented paragraphs with space between them.
\usepackage{parskip}

% 2 column table of contents.
\usepackage[toc]{multitoc}

\usepackage{hyperref}
\hypersetup{
    bookmarks=true,%
    colorlinks=true,%
    citecolor=black,%
    filecolor=black,%
    linkcolor=black,%
    urlcolor=black
}

% ----- Common variables

\def \build {\input{buildno.txt}}
\def \instrument {\input{instrument.txt}}

% Havoc purple is #9900cc.
\definecolor{havocpurple}{rgb}{0.597,0,0.797}

% ----- Paper size document setup

\input{docsetup.tex}

% ----- Appearance

\setmainfont{Times New Roman}

% Don't show section numbers.
\setcounter{secnumdepth}{-1}

% -----

\begin{document}

\frontmatter

% ----- Title page

\begin{titlepage}
\pagecolor{havocpurple}
\titleBoD
\end{titlepage}

% ----- First inside page and dedication. No page numbering here, thanks.

\pagecolor{white}

\pagenumbering{gobble}

\topskip0pt
\vspace*{\fill}

\begin{center}
{\Large to Jane} \\
{\large \emph{for the music, and the dance}}
\end{center}

\vspace*{\fill}

\section*{About Cry Havoc}

Cry Havoc are a friendly mixed Cotswold Morris side based in Botley, Oxford.
We practice between September and April on Thursday evenings at the
Botley Womens' Institute Hall, North Hinksey Lane, Botley, Oxford OX2 0LT and
dance out in the summer months at locations around Oxfordshire.
Find out more at \url{http://www.cryhavoc.org.uk/}, or email
\href{mailto:bag@cryhavoc.org.uk}{\texttt{bag@cryhavoc.org.uk}} for more
information. Would-be dancers always welcome.

The Booke of Dottes was first produced to mark Cry Havoc's 20th
anniversary in 2013.

\newpage

% ----- Headers and footers

\pagestyle{fancyplain}
\fancyhf{}
\cfoot{\thepage}
\renewcommand{\headrulewidth}{0pt}

% ----- Contents

\pagenumbering{roman}

\tableofcontents

% -----

\chapter{Introduction}

After every practice or dance-out, the musicians of Cry Havoc Botley
Morris like to have a little music-playing session. And, of course,
the musicians provide the music we dance to.

Havoc musicians come in all shades of experience and ability.
This collection is intended to help those like me who are inexpert with
instrument and folk music generally, but have a little musical background.

\input{intro.txt}

Being folk tunes, many of the tunes herein have many variations.
The music presented here is my attempt at reflecting what the musicians
of Cry Havoc play. I'm in no way suggesting that they are
in any way \emph{correct}. This is just how we go about them.

The majority of tunes in this book have no identifiable author, and
are unquestionably in the public domain. Rather than litter the
pages with \emph{Trad.} or \emph{Anon.}, I have left them unattributed.
Some, however, have an identifiable author or arranger and copyright
unquestionably remains with that person. I believe these tunes to
enjoy widespread currency on the folk music scene, and therefore there
is at least tacit approval by the authors for their dissemination.
If this is not the case, please contact me at
\href{mailto:dottes@cryhavoc.org.uk}{\texttt{dottes@cryhavoc.org.uk}} and I will
remove the offending tune.

The Booke of Dottes is a constant work in progress. This is issue \build,
generated \today. The latest version is always available from
\url{http://dottes.cryhavoc.org.uk/}.

% -----

\mainmatter

\addcontentsline{toc}{chapter}{Tunes}

\input{tunes.tex}

% -----

\backmatter

\chapter{List of tune first lines}

You know the feeling. Everyone has just launched into a well-loved tune.
You've heard it before, but don't remember the name. So here's a list of
tune first lines to help you figure out what it is in time to join in.

\setlength\LTleft{0pt}
\setlength\LTright{0pt}
\begin{longtable}{lr}
\input{firstlines.tex}
\end{longtable}

% ----- Back cover page. A plain purple page.

\newpage

\pagecolor{havocpurple}
\thispagestyle{empty}
\mbox{}

\end{document}
