view dottes.tex @ 1011:5688c4994b84 build-default-365

Added tag build-default-364 for changeset 62a43e801dbe
author Jenkins Build Manager <jenkins@cryhavoc.org.uk>
date Mon, 02 Dec 2019 23:53:34 +0000
parents 3bd3e73eab24
children 2f6f571a6181
line wrap: on
line source

\input{docclass.tex}

\usepackage{array}
\usepackage{calc}
\usepackage{caption}
\usepackage{color}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{ifthen}
\usepackage{metalogo}
\usepackage[defaultlines=4,all]{nowidow}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{needspace}
\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{
    colorlinks=true,%
    citecolor=black,%
    filecolor=black,%
    linkcolor=black,%
    urlcolor=black
}

% ----- Common variables

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

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

% ----- Macros

\makeatletter
\def\ifemptyarg#1{%
  \if\relax\detokenize{#1}\relax % H. Oberdiek
    \expandafter\@firstoftwo
  \else
    \expandafter\@secondoftwo
  \fi}
\makeatother

% Replace \mainmatter with one that does a \clearpage
% not a \cleardoublepage.
\makeatletter
\renewcommand\mainmatter{%
   \clearpage
   \@mainmattertrue
   \pagenumbering{arabic}}
\makeatother

% Show the main tune graphic and optional change.
% Args are:
%   1. Tune name
%   2. Tune title
%   3. Tune subtitle
%   4. Tune full title
%   5. Tune tradition
%   6. Tune composer
%   7. Tune parts
%   8. Tune graphic filename
\newcommand{\showtune}[8]{%
  \phantomsection
  \begin{tabularx}{\textwidth}{LCR}
      #7 & \hypertarget{#1}{\Large{#2}} & \emph{#6} \tabularnewline
      \ifemptyarg{#3}{}{%
        & #3 & \tabularnewline
      }
      \multicolumn{3}{c}{%
        \includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#8}%
      }\tabularnewline
  \end{tabularx}
  \addcontentsline{toc}{section}{#4}
}

% Show the tune first line. Generate table row.
% Args are the tune name, tune title and the first line graphic filename.
\newcommand{\showfirstline}[3]{%
  \hyperlink{#1}{#2} & %
    \raisebox{-.4\height}{\includegraphics[width=0.77\textwidth]{#3}} \\
}

% Show the section graphic.
% Args are the graphic filename.
\newcommand{\showsectiongraphic}[2]{%
  \begin{figure}[h!]
    \begin{center}
      \includegraphics[height=0.60\textheight,keepaspectratio]{#1}
    \end{center}
    \ifemptyarg{#2}{}{\caption*{#2}}
  \end{figure}
}

% Add blank pages to make total page count up to a multiple
% Args are:
%   1. Multiple desired
%   2. Pages before start of current page count
\newcounter{modpage}
\newcounter{modpageno}
\newcounter{modpagenodiv}
\newcommand{\padpages}[2]{%
    \pagestyle{empty}%
    \setcounter{modpageno}{\thepage + #2}%
    \setcounter{modpagenodiv}{\themodpageno/#1}%
    \setcounter{modpage}{\themodpageno - #1*\themodpagenodiv}%
    \ifthenelse{\themodpage=0}%
        {\relax}%
        {\setcounter{modpage}{#1 - \themodpage}%
            \whiledo{\themodpage>0}{%
                \mbox{}\clearpage\mbox{}%
                \setcounter{modpage}{\themodpage - 1}%
            }% end whiledo
        }% end ifthenelse
}% end padpages

% ----- Paper size document setup

\input{docsetup.tex}

% ----- Appearance

% Lettering in the tune images is in Times, so go with that for consistency.
\setmainfont{Times New Roman}

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

% -----

\begin{document}

% ----- Headers and footers

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

\pagestylemod

\frontmatter

% No page numbering for now, thanks.
\pagenumbering{gobble}

% ----- Title page

\newgeometry{margin=0.5in}
\begin{titlepage}
\titleBoD
\end{titlepage}
\restoregeometry

% ----- First inside pages. No page numbering here, thanks.

% Publisher info page.
\vspace*{\fill}

{\small \raggedright

\textbf{Ye Crie Havoc Booke of Dottes}

Tune collection and presentation is copyright \copyright{} Jim Hague 2013-2019
and is licensed under a Creative Commons
Attribution-NonCommercial-ShareAlike 2.0 UK: England \& Wales License.
Details at \url{http://creativecommons.org/licenses/by-nc-sa/2.0/uk/}.

Some tunes are reproduced from Paul Hardy's Session Tunebook
(\url{www.paulhardy.net}).

The right of Jim Hague to be identified as the author of this work has been
asserted by him in accordance with the Copyright, Designs and Patents Act 1998.

First published in the UK 2013 by Jim Hague.\\
Second printed edition 2019.

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

\textbf{Technical data}

Book sources can be found at in a Mercurial
(\url{https://www.mercurial-scm.org/}) repository at
\url{http://hg.cryhavoc.org.uk/dottes/}. Tunes are
in Chris Walshaw's abc notation (\url{http://abcnotation.com/}).

Music typeset by Jef Moine's abcm2ps (\url{http://moinejf.free.fr/}).
Document typeset by {\LaTeX} using {\XeLaTeX} from {\TeX} Live on
a Debian Linux system.
Grateful thanks to all contributors to abc, {\LaTeX}, Debian,
Linux and related software.

}

\newpage

% Dedication page.

\vspace*{\fill}

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

\vspace*{\fill}

\newpage

% ----- Here we go with numbered frontmatter pages.

\pagenumbering{roman}

\chapter{Introduction}

Music forms a core part of Cry Havoc Botley Morris. Of course, the
musicians provide the music we dance to. And after every practice or
dance-out, there is a music-playing session.

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.

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, may 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}{\url{dottes@cryhavoc.org.uk}} and I will
remove the offending tune.

This book has an accompanying website, {\url{http://dottes.cryhavoc.org.uk}}.
It's updated from time to time with the latest tunes we're playing.
As well as the written music (the dots), you can listen to the computer play
each tune and its chords, or download the audio or the dots.
For those who want to learn by ear, there's
a page for each tune with the computer playing the melody only, at
four different speeds. You can also download the latest version of
the various print books, formatted for A4 or A5 size paper, to print at home.

Finally, many, many thanks to all who have helped me with this project,
in particular fellow Havocs KateK, Nerys, MickP, Susie and Ed. And most
especially to Jane, without whose enthusiasm, support and encouragement
this would never have been possible.

\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}{\url{bag@cryhavoc.org.uk}} for more
information. Would-be dancers or musicians always welcome.

The Booke of Dottes was first produced to mark Cry Havoc's 20th
anniversary in 2013, and substantially updated for our 25th anniversary
in 2018.

% -----

\tableofcontents

\newcounter{lastfrontmatterpage}
\setcounter{lastfrontmatterpage}{\value{page}}

% -----

\mainmatter

\input{tunes.tex}

% -----

\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.

\input{firstlines.tex}

% ----- Back cover page, notes page etc.

\backmatter

\input{docend.tex}

\end{document}