Add instrument name into title page for transpositions.
authorJim Hague <jim.hague@acm.org>
Fri, 21 Jun 2013 20:00:54 +0100
changeset 263 7b98278d6e8b
parent 262 b8c711dafce1
child 264 1d9a6aaba914
Add instrument name into title page for transpositions.
makeBookeA4.sh
makeBookeA5.sh
makeCello.sh
makeHornInF.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
 
--- 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
 
--- 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
--- 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