Mercurial > dottes
comparison makeWeb.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 | c81a1ed21877 |
children | b83b49f2a0a0 |
comparison
equal
deleted
inserted
replaced
746:34c7947b4542 | 748:ce5c7214f9aa |
---|---|
65 cp $1-*.pdf $webdir | 65 cp $1-*.pdf $webdir |
66 | 66 |
67 # Now, for each tune, make the tune page. | 67 # Now, for each tune, make the tune page. |
68 rm -f $webdir/$tunelist | 68 rm -f $webdir/$tunelist |
69 declare -a filenames | 69 declare -a filenames |
70 filenames=(`find $bookedir -name "*.abc" | sort`) | 70 filenames=(`find $bookedir -depth 1 -name "*.abc" | sort`) |
71 nofiles=${#filenames[@]} | 71 nofiles=${#filenames[@]} |
72 for (( i=0; i < ${nofiles}; i++ )) | 72 for (( i=0; i < ${nofiles}; i++ )) |
73 do | 73 do |
74 filename=${filenames[$i]} | 74 filename=${filenames[$i]} |
75 name=`basename $filename .abc` | 75 name=`basename $filename .abc` |