forked from CryHavoc/dottes
Automated merge with ssh://hg.cryhavoc.org.uk/dottes
This commit is contained in:
commit
9e659b02f5
|
@ -4,11 +4,14 @@ T:British Grenadiers
|
||||||
A:Bledington
|
A:Bledington
|
||||||
R:March
|
R:March
|
||||||
O:England
|
O:England
|
||||||
|
P:A(AB2)3
|
||||||
M:4/4
|
M:4/4
|
||||||
L:1/4
|
L:1/4
|
||||||
Q:1/4=160
|
Q:1/4=160
|
||||||
K:G
|
K:G
|
||||||
|
P:A
|
||||||
D|"G"G D G A|B2 "D"A B/c/|"G"d G "D7"B/A/ G/F/|"G"G3 D|\
|
D|"G"G D G A|B2 "D"A B/c/|"G"d G "D7"B/A/ G/F/|"G"G3 D|\
|
||||||
"G"G D G A|B2 "D7"A B/c/|"G"d G "D7"B/A/ G/F/|"G"G3 ||
|
"G"G D G A|B2 "D7"A B/c/|"G"d G "D7"B/A/ G/F/|"G"G3 ||
|
||||||
|
P:B
|
||||||
B/c/|"G"d>e d c|B c d d|"C"e e "Am"d/c/ B/A/|"G"G2 "D"F D/D/|\
|
B/c/|"G"d>e d c|B c d d|"C"e e "Am"d/c/ B/A/|"G"G2 "D"F D/D/|\
|
||||||
"G"G F/G/ "D"A G/A/|"G"B A/B/ "D"c B/c/|"G"d G "D7"B/A/ G/F/|"G"G3|]
|
"G"G F/G/ "D"A G/A/|"G"B A/B/ "D"c B/c/|"G"d G "D7"B/A/ G/F/|"G"G3|]
|
||||||
|
|
|
@ -13,11 +13,10 @@ D|"G"G2G GBd|"C"e2e "G"dBG|"D7"A2d "G"BAG|"C"E2"D7"F "G"G2:|
|
||||||
P:B
|
P:B
|
||||||
d|"G"e2d B2d|"C"gfe "G"d2d| "G"e2d B2d|"C"gfe "D7"d2c|\
|
d|"G"e2d B2d|"C"gfe "G"d2d| "G"e2d B2d|"C"gfe "D7"d2c|\
|
||||||
"G"B2B Bcd|"C"e2e "G"dBG|"D7"A2d "G"BAG|"C"E2"D7"F "G"G2:|
|
"G"B2B Bcd|"C"e2e "G"dBG|"D7"A2d "G"BAG|"C"E2"D7"F "G"G2:|
|
||||||
T:Slows
|
|
||||||
M:4/4
|
M:4/4
|
||||||
L:1/4
|
L:1/4
|
||||||
P:C
|
P:C
|
||||||
"G"d2|"C"e2 "G"d2|B2 d2|"Em"gf "A7"e2|"D7"d2 "G"d2|"C"e2 "G"d2|\
|
"^Slows" "G"d2|"C"e2 "G"d2|B2 d2|"Em"gf "A7"e2|"D7"d2 "G"d2|"C"e2 "G"d2|\
|
||||||
M:3/8
|
M:3/8
|
||||||
L:1/8
|
L:1/8
|
||||||
"G"B2d|\
|
"G"B2d|\
|
||||||
|
|
|
@ -24,6 +24,7 @@
|
||||||
# * tradition. The Morris tradition the dance tune is from.
|
# * tradition. The Morris tradition the dance tune is from.
|
||||||
# * composer. The tune composer.
|
# * composer. The tune composer.
|
||||||
# * key. The tune key.
|
# * key. The tune key.
|
||||||
|
# * parts. The tune parts order (A(AB2)3 etc.).
|
||||||
# * changefile. The name of the 'change' file, if any.
|
# * changefile. The name of the 'change' file, if any.
|
||||||
# * changename. The change file base name.
|
# * changename. The change file base name.
|
||||||
# * changetitle. The change file tune title.
|
# * changetitle. The change file tune title.
|
||||||
|
@ -70,6 +71,7 @@ if __name__ == "__main__":
|
||||||
vars["tradition"] = getFieldDisplayText(lines, fdir, "A", latex=args.latex)
|
vars["tradition"] = getFieldDisplayText(lines, fdir, "A", latex=args.latex)
|
||||||
vars["composer"] = getFieldDisplayText(lines, fdir, "C", latex=args.latex)
|
vars["composer"] = getFieldDisplayText(lines, fdir, "C", latex=args.latex)
|
||||||
vars["key"] = getFieldDisplayText(lines, fdir, "K", latex=args.latex)
|
vars["key"] = getFieldDisplayText(lines, fdir, "K", latex=args.latex)
|
||||||
|
vars["parts"] = getFieldDisplayText(lines, fdir, "P", latex=args.latex)
|
||||||
vars["notes"] = getFieldDisplayText(lines, fdir, "N", starts="Dottes:", latex=args.latex)
|
vars["notes"] = getFieldDisplayText(lines, fdir, "N", starts="Dottes:", latex=args.latex)
|
||||||
if vars["notes"]:
|
if vars["notes"]:
|
||||||
vars["notesvisibility"] = "yes"
|
vars["notesvisibility"] = "yes"
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
<div class="dottes-tune-header-composer-column"></div>
|
<div class="dottes-tune-header-composer-column"></div>
|
||||||
<div class="dottes-tune-header-row">
|
<div class="dottes-tune-header-row">
|
||||||
<div class="dottes-tune-header-icons">
|
<div class="dottes-tune-header-icons">
|
||||||
|
<p>
|
||||||
<a class="dottes-tune-icon-link" href="learner-${name}.html">
|
<a class="dottes-tune-icon-link" href="learner-${name}.html">
|
||||||
<img class="dottes-tune-header-image" src="../img/learner.png"
|
<img class="dottes-tune-header-image" src="../img/learner.png"
|
||||||
alt="Learner">
|
alt="Learner">
|
||||||
|
@ -33,6 +34,8 @@
|
||||||
<img class="dottes-tune-header-image" src="../img/book.png"
|
<img class="dottes-tune-header-image" src="../img/book.png"
|
||||||
alt="Tune index">
|
alt="Tune index">
|
||||||
</a>
|
</a>
|
||||||
|
${parts}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="dottes-tune-header-title">
|
<div class="dottes-tune-header-title">
|
||||||
<h1>${title}</h1>
|
<h1>${title}</h1>
|
||||||
|
|
14
dottes.tex
14
dottes.tex
|
@ -45,13 +45,12 @@
|
||||||
\makeatother
|
\makeatother
|
||||||
|
|
||||||
% Show the main tune graphic and optional change.
|
% Show the main tune graphic and optional change.
|
||||||
% Args are tune name, tune title, tune subtitle, tradition, composer,
|
% Args are tune name, tune title, tune subtitle, tradition, composer, parts,
|
||||||
% tune graphic, filename, notes, history.
|
% tune graphic, filename, notes, history.
|
||||||
\newcommand{\showtune}[8]{%
|
\newcommand{\showtune}[9]{%
|
||||||
\phantomsection
|
\phantomsection
|
||||||
\begin{tabularx}{\textwidth}{LCR}
|
\begin{tabularx}{\textwidth}{LCR}
|
||||||
\addcontentsline{toc}{section}{#2}
|
#6 & \hypertarget{#1}{\Large{#2}} & \emph{#5} \tabularnewline
|
||||||
& \hypertarget{#1}{\Large{#2}} & \emph{#5} \tabularnewline
|
|
||||||
\ifemptyarg{#3}{}{%
|
\ifemptyarg{#3}{}{%
|
||||||
& #3 & \tabularnewline
|
& #3 & \tabularnewline
|
||||||
}
|
}
|
||||||
|
@ -59,12 +58,13 @@
|
||||||
& \emph{#4} & \tabularnewline
|
& \emph{#4} & \tabularnewline
|
||||||
}
|
}
|
||||||
\multicolumn{3}{c}{%
|
\multicolumn{3}{c}{%
|
||||||
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#6}%
|
\includegraphics[width=\textwidth,height=0.8\textheight,keepaspectratio]{#7}%
|
||||||
}\tabularnewline
|
}\tabularnewline
|
||||||
\end{tabularx}
|
\end{tabularx}
|
||||||
#7
|
\addcontentsline{toc}{section}{#2}
|
||||||
|
|
||||||
#8
|
#8
|
||||||
|
|
||||||
|
#9
|
||||||
\vfill
|
\vfill
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
\showtune{$name}{$title}{$subtitle}{$tradition}{$composer}{$graphicsdir/$name}{$notes}{$history}
|
\showtune{$name}{$title}{$subtitle}{$tradition}{$composer}{$parts}{$graphicsdir/$name}{$notes}{$history}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
partsbox true
|
partsbox true
|
||||||
measurenb false
|
measurenb false
|
||||||
scale 0.9
|
scale 0.9
|
||||||
titleformat T0 C1
|
titleformat P-1 T0 C1
|
||||||
% I don't want any info fields in the graphics. To turn off the
|
% I don't want any info fields in the graphics. To turn off the
|
||||||
% fields, give a blank infoname for that letter.
|
% fields, give a blank infoname for that letter.
|
||||||
infoname S
|
infoname S
|
||||||
|
|
|
@ -155,6 +155,12 @@ div.dottes-tune-header-row
|
||||||
div.dottes-tune-header-icons
|
div.dottes-tune-header-icons
|
||||||
{
|
{
|
||||||
display: table-cell;
|
display: table-cell;
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
|
div.dottes-tune-header-icons p
|
||||||
|
{
|
||||||
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
div.dottes-tune-header-title
|
div.dottes-tune-header-title
|
||||||
|
@ -289,6 +295,11 @@ a.dottes-tune-icon-link
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.dottes-tune-icon-link img
|
||||||
|
{
|
||||||
|
vertical-align: middle;
|
||||||
|
}
|
||||||
|
|
||||||
ul.tune-type-list
|
ul.tune-type-list
|
||||||
{
|
{
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
|
Loading…
Reference in New Issue