comparison makeCello.sh @ 748:ce5c7214f9aa

Introduce mechanism for having different tune images for compact printed output. Sort alternate .abc in subdir 'Compact' under the booke dir. Use that as the graphic for A5 output, assuming it will be vertically more compact. Use Bear Dance as an example, as it has commentary that currently overflows an A5 landscape page. For the moment, transposed Bookes don't transpose and so don't use Compact.
author Jim Hague <jim.hague@acm.org>
date Fri, 13 Oct 2017 15:44:15 +0100
parents cf2fe741a582
children 06fec6764661
comparison
equal deleted inserted replaced
746:34c7947b4542 748:ce5c7214f9aa
51 # Copy book component items. 51 # Copy book component items.
52 cp $booke/*.txt $outdir 52 cp $booke/*.txt $outdir
53 53
54 echo "Cello" > $outdir/instrument.txt 54 echo "Cello" > $outdir/instrument.txt
55 55
56 find $booke -name "*.abc" | sort | 56 find $booke -depth 1 -name "*.abc" | sort |
57 while read filename 57 while read filename
58 do 58 do
59 name=`basename $filename .abc` 59 name=`basename $filename .abc`
60 range=`./abcrange.py $filename` 60 range=`./abcrange.py $filename`
61 61