diff --git a/.gitignore b/.gitignore index f7d524e..a0b40dc 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ **/*.pdf **/*.png **/*.midi +book/tex diff --git a/book/book.lytex b/book/book.lytex new file mode 100644 index 0000000..bb1372d --- /dev/null +++ b/book/book.lytex @@ -0,0 +1,132 @@ +\documentclass{article} +\usepackage{graphicx} +\usepackage{hyperref} +\usepackage[a4paper,top=2cm,bottom=3.2cm,left=1.25cm,right=1.25cm]{geometry} + +\author{Eric Teunis de Boone} +\title{Tinwhistle Tunes} + +\begin{document} +\maketitle +\hrule + +\tableofcontents +\hrule + +\cleardoublepage +\addcontentsline{toc}{section}{Polkas} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{John Ryan's Polka} +\lilypondfile[noindent]{./polkas/john_ryans_polka.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{The Ballydesmond Polks (1)} +\lilypondfile[noindent]{./polkas/the_ballydesmond_polka_1.ly} +\end{minipage} + +\cleardoublepage +\addcontentsline{toc}{section}{6/8 Marches} +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{PM Donald McLean of Lewis} +\lilypondfile[noindent]{./6-8_marches/pipe_major_donald_mclean_of_lewis.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Pibroch o'Donald Dubh} +\lilypondfile[noindent]{./6-8_marches/pibroch_o_donald_dubh.ly} +\end{minipage} + +\cleardoublepage +\addcontentsline{toc}{section}{Airs} +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Sally Gardens} +\lilypondfile[noindent]{./airs/sally_gardens.ly} +\end{minipage} + +\cleardoublepage +\addcontentsline{toc}{section}{Jigs} +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Gander in the Pratie Hole} +\lilypondfile[noindent]{./jigs/gander_in_the_pratie_hole.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Saddle the Pony} +\lilypondfile[noindent]{./jigs/saddle_the_pony.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Donnybrook Fair} +\lilypondfile[noindent]{./jigs/donnybrook_fair.ly} +\end{minipage} + +\cleardoublepage +\addcontentsline{toc}{section}{Hornpipes} +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{The Greencastle Hornpipe} +\lilypondfile[noindent]{./hornpipes/the_greencastle_hornpipe.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Alexander's Hornpipe} +\lilypondfile[noindent]{./hornpipes/alexanders_hornpipe.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{The Harvest Home} +\lilypondfile[noindent]{./hornpipes/the_harvest_home.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{The Honeysuckle} +\lilypondfile[noindent]{./hornpipes/the_honeysuckle.ly} +\end{minipage} + +\cleardoublepage +\addcontentsline{toc}{section}{Reels} +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{The Bag of Spuds} +\lilypondfile[noindent]{./reels/the_bag_of_spuds.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{The Sunny Banks} +\lilypondfile[noindent]{./reels/the_sunny_banks.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Rolling on the Rye Grass} +\lilypondfile[noindent]{./reels/rolling_on_the_rye_grass.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{The Blacksmith} +\lilypondfile[noindent]{./reels/the_blacksmith.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{The Wind that Shakes the Barley} +\lilypondfile[noindent]{./reels/the_wind_that_shakes_the_barley.ly} +\end{minipage} + + +\cleardoublepage +\addcontentsline{toc}{section}{Slides} +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Danny Ab's Slide} +\lilypondfile[noindent]{./slides/danny_ab_s_slide.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Thugamar F\'ein an Samhradh Linn} +\lilypondfile[noindent]{./slides/thugamar_fein_an_samhradh_linn.ly} +\end{minipage} + +\begin{minipage}{\columnwidth} +\addcontentsline{toc}{subsection}{Denis Murphy's Slide} +\lilypondfile[noindent]{./slides/denis_murphy_s_slide.ly} +\end{minipage} + +\end{document} diff --git a/book/book.sly b/book/book.sly new file mode 100644 index 0000000..8ccb2b7 --- /dev/null +++ b/book/book.sly @@ -0,0 +1,11 @@ +%{ + Stylesheet for the "all" book +%} + +\version "2.19.80" + +\include "/home/ericteunis/projects/scoring/lib/styles/pipeband.sly" +\include "/home/ericteunis/projects/scoring/lib/styles/tinwhistle.sly" + +% Remove all book titling +\include "/home/ericteunis/projects/scoring/lib/styles/defs/no_book_header.ily" diff --git a/book/build b/book/build new file mode 100755 index 0000000..7f4c228 --- /dev/null +++ b/book/build @@ -0,0 +1,27 @@ +#!/bin/sh + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" +LIB=$DIR/../../lib +STYLESHEET=$DIR/book.sly + +# In case tinwhistle.ily is included in file +#+ add it to the search path +TINWHISTLE_DIR=$LIB/tinwhistle/ + +# Options by this script +OPTIONS="-dno-strip-output-dir -dno-point-and-click" + +# Process +PROCESS="lilypond -dinclude-settings=$STYLESHEET -I $TINWHISTLE_DIR $OPTIONS" + + +# Execute +lilypond-book -P"${PROCESS}" --output=tex --pdf book.lytex + +# PDF +cd $DIR/tex +pdflatex book.tex +cd $DIR +cp $DIR/tex/book.pdf $DIR/book.pdf