changeset 263:7b98278d6e8b

Add instrument name into title page for transpositions.
author Jim Hague <jim.hague@acm.org>
date Fri, 21 Jun 2013 20:00:54 +0100
parents b8c711dafce1
children 1d9a6aaba914
files makeBookeA4.sh makeBookeA5.sh makeCello.sh makeHornInF.sh
diffstat 4 files changed, 16 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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