Mercurial > dottes
comparison dottes.tex @ 266:06e140f48543
Revise scripts for building printed Bookes.
A lot of stuff was being duplicated between different page size. Consolidate where
possible, and in particular put as much into a single source file (dottes.tex) as
possible. Making a single Booke is now potentially quicker, as the tune pages
don't necessarily have to be regenerate every time.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 26 Jun 2013 23:37:45 +0100 |
parents | |
children | 1b08069e5cc4 |
comparison
equal
deleted
inserted
replaced
265:3e5335396f48 | 266:06e140f48543 |
---|---|
1 \input{docclass.tex} | |
2 | |
3 \usepackage{fontspec} | |
4 \usepackage{graphicx} | |
5 \usepackage{fancyhdr} | |
6 \usepackage{longtable} | |
7 \usepackage[toc]{multitoc} | |
8 | |
9 \usepackage{hyperref} | |
10 \hypersetup{ | |
11 bookmarks=true,% | |
12 colorlinks=true,% | |
13 citecolor=black,% | |
14 filecolor=black,% | |
15 linkcolor=black,% | |
16 urlcolor=black | |
17 } | |
18 | |
19 % ----- Common variables | |
20 | |
21 \def \build {\input{buildno.txt}} | |
22 \def \instrument {\input{instrument.txt}} | |
23 | |
24 % ----- Paper size document setup | |
25 | |
26 \input{docsetup.tex} | |
27 | |
28 % ----- Appearance | |
29 | |
30 \setmainfont{Times New Roman} | |
31 | |
32 % Don't show section numbers. | |
33 \setcounter{secnumdepth}{-1} | |
34 | |
35 % ----- | |
36 | |
37 \begin{document} | |
38 | |
39 % ----- Title page | |
40 | |
41 \begin{titlepage} | |
42 \titleBoD | |
43 \end{titlepage} | |
44 | |
45 % ----- Headers and footers | |
46 | |
47 \pagestyle{fancyplain} | |
48 \fancyhf{} | |
49 \lfoot{Issue \build} | |
50 \rfoot{\thepage} | |
51 \renewcommand{\headrulewidth}{0pt} | |
52 | |
53 % ----- Contents | |
54 | |
55 \tableofcontents | |
56 | |
57 % ----- | |
58 | |
59 \section{Introduction} | |
60 | |
61 \input{intro.txt} | |
62 | |
63 All tunes in this book are believed to be in the public domain, or at the | |
64 very least enjoy widespread currency on the folk music scene. If I have | |
65 inadvertantly transgressed on anyone's copyright, please contact me at | |
66 \href{mailto:dottes@cryhavoc.org.uk}{\texttt{dottes@cryhavoc.org.uk}} and I will | |
67 remove the offending tune. | |
68 | |
69 Being folk tunes, many of the tunes herein have many variations. | |
70 The music presented here is my attempt at reflecting what the musicians | |
71 of Cry Havoc play. I'm in no way suggesting that they are | |
72 in any way \emph{correct}. This is just how we go about them. | |
73 | |
74 The Booke of Dottes is a constant work in progress. You can download the latest | |
75 version from \url{http://dottes.cryhavoc.org.uk/}. | |
76 | |
77 % ----- | |
78 | |
79 \section{Tunes} | |
80 | |
81 Tunes are arranged in alphabetical order of tune title. | |
82 | |
83 \newpage | |
84 | |
85 \input{tunes.tex} | |
86 | |
87 % ----- | |
88 | |
89 \newpage | |
90 \section{List of tune first lines} | |
91 | |
92 You know the feeling. Everyone has just launched into a well-loved tune. | |
93 You've heard it before, but don't remember the name. So here's a list of | |
94 tune first lines to help you figure out what it is in time to join in. | |
95 | |
96 \setlength\LTleft{0pt} | |
97 \setlength\LTright{0pt} | |
98 \begin{longtable}{lr} | |
99 \input{firstlines.tex} | |
100 \end{longtable} | |
101 | |
102 % ----- | |
103 | |
104 \end{document} |