view dottes.tex @ 554:86423099b9a4

Add Off the California, The Rights of Man and Navvy on the Line.
author Jim Hague <jim.hague@acm.org>
date Sun, 04 Sep 2016 18:46:45 +0100
parents 2a7d03d6a89f
children 60749c792cde
line wrap: on
line source

\input{docclass.tex}

\usepackage{array}
\usepackage{color}
\usepackage{fontspec}
\usepackage{graphicx}
\usepackage{fancyhdr}
\usepackage{tabularx}
\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

\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

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

% 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}} \\
}

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

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{http://mercurial.selenic.com}) repository at
\url{http://hg.cryhavoc.org.uk/dottes/}. Tunes are
in abc notation (\url{http://abcnotation.com/}).

Music typeset by abcm2ps (\url{http://moinejf.free.fr/}).
Document typeset by {\LaTeX} using {\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.

\input{intro.tex}

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.

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

% -----

\tableofcontents

% -----

\mainmatter

\addcontentsline{toc}{chapter}{Tunes}

{
\newcolumntype{L}{p{0.25\textwidth}}%
\newcolumntype{R}{>{\raggedleft\arraybackslash}p{0.25\textwidth}}%
\newcolumntype{C}{>{\centering\arraybackslash}X}%
\renewcommand{\tabularxcolumn}[1]{m{#1}}%
\renewcommand{\tabcolsep}{0pt}

\input{tunes.tex}
}

% -----

\cleardoublepage

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

{\renewcommand{\arraystretch}{2.5}
\setlength\LTleft{0pt}
\setlength\LTright{\fill}
\begin{longtable}{@{}>{\raggedright\arraybackslash}m{0.2\textwidth}r@{}}
\input{firstlines.tex}
\end{longtable}
}

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

\backmatter

\input{docend.tex}

\end{document}