From 204de8894f51e465d7420b0046b298b216db28f8 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Fri, 21 Jun 2013 20:00:54 +0100 Subject: [PATCH] Add instrument name into title page for transpositions. --- makeBookeA4.sh | 6 ++++++ makeBookeA5.sh | 6 ++++++ makeCello.sh | 2 ++ makeHornInF.sh | 2 ++ 4 files changed, 16 insertions(+) diff --git a/makeBookeA4.sh b/makeBookeA4.sh index b560682..5c558a0 100755 --- a/makeBookeA4.sh +++ b/makeBookeA4.sh @@ -47,6 +47,12 @@ if [ -r $booke/intro.txt ]; then else touch $builddir/intro.txt fi +rm $builddir/instrument.txt +if [ -r $booke/instrument.txt ]; then + cp $booke/instrument.txt $builddir +else + touch $builddir/instrument.txt +fi cp dottes.tex.a4header $builddir/$output cat dottes.tex.intro >> $builddir/$output diff --git a/makeBookeA5.sh b/makeBookeA5.sh index 191e15c..4de3896 100755 --- a/makeBookeA5.sh +++ b/makeBookeA5.sh @@ -49,6 +49,12 @@ if [ -r $booke/intro.txt ]; then else touch $builddir/intro.txt fi +rm $builddir/instrument.txt +if [ -r $booke/instrument.txt ]; then + cp $booke/instrument.txt $builddir +else + touch $builddir/instrument.txt +fi cp dottes.tex.a5header $builddir/$output cat dottes.tex.intro >> $builddir/$output diff --git a/makeCello.sh b/makeCello.sh index d778ea0..0a2e821 100755 --- a/makeCello.sh +++ b/makeCello.sh @@ -22,6 +22,8 @@ mkdir -p $outdir # Copy book component items. cp $booke/*.txt $outdir +echo "Cello" > $outdir/instrument.txt + find $booke -name "*.abc" | sort | while read filename do diff --git a/makeHornInF.sh b/makeHornInF.sh index 0ceff96..04c9840 100755 --- a/makeHornInF.sh +++ b/makeHornInF.sh @@ -17,6 +17,8 @@ mkdir -p $outdir # Copy book component items. cp $booke/*.txt $outdir +echo "Horn in F" > $outdir/instrument.txt + find $booke -name "*.abc" | sort | while read filename do