# HG changeset patch # User Jim Hague # Date 1371841254 -3600 # Node ID 7b98278d6e8b0a45af333265f373134b3f3f478c # Parent b8c711dafce17fa25896cee47167e9e440cdf758 Add instrument name into title page for transpositions. diff -r b8c711dafce1 -r 7b98278d6e8b makeBookeA4.sh --- a/makeBookeA4.sh Fri Jun 21 20:00:40 2013 +0100 +++ b/makeBookeA4.sh Fri Jun 21 20:00:54 2013 +0100 @@ -47,6 +47,12 @@ 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 -r b8c711dafce1 -r 7b98278d6e8b makeBookeA5.sh --- a/makeBookeA5.sh Fri Jun 21 20:00:40 2013 +0100 +++ b/makeBookeA5.sh Fri Jun 21 20:00:54 2013 +0100 @@ -49,6 +49,12 @@ 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 -r b8c711dafce1 -r 7b98278d6e8b makeCello.sh --- a/makeCello.sh Fri Jun 21 20:00:40 2013 +0100 +++ b/makeCello.sh Fri Jun 21 20:00:54 2013 +0100 @@ -22,6 +22,8 @@ # Copy book component items. cp $booke/*.txt $outdir +echo "Cello" > $outdir/instrument.txt + find $booke -name "*.abc" | sort | while read filename do diff -r b8c711dafce1 -r 7b98278d6e8b makeHornInF.sh --- a/makeHornInF.sh Fri Jun 21 20:00:40 2013 +0100 +++ b/makeHornInF.sh Fri Jun 21 20:00:54 2013 +0100 @@ -17,6 +17,8 @@ # Copy book component items. cp $booke/*.txt $outdir +echo "Horn in F" > $outdir/instrument.txt + find $booke -name "*.abc" | sort | while read filename do