Mercurial > dottes
comparison makeAll.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 | 2f6e05d0aba0 |
children | d6f1f2b3bd01 |
comparison
equal
deleted
inserted
replaced
746:34c7947b4542 | 748:ce5c7214f9aa |
---|---|
7 exit 1 | 7 exit 1 |
8 fi | 8 fi |
9 | 9 |
10 makeABooke() | 10 makeABooke() |
11 { | 11 { |
12 # Print graphics. | |
12 ./makeGraphics.sh "$1" | 13 ./makeGraphics.sh "$1" |
14 | |
15 # Normal graphics printed output. | |
13 ./makeBookeTunePages.sh "$1" | 16 ./makeBookeTunePages.sh "$1" |
14 ./makeBooke.sh A4 "$1" | 17 ./makeBooke.sh A4 "$1" |
18 ./makeBooke.sh Nook "$1" | |
19 | |
20 # Compact graphics printed output. | |
21 ./makeBookeTunePages.sh --use-compact "$1" | |
15 ./makeBooke.sh A5 "$1" | 22 ./makeBooke.sh A5 "$1" |
16 ./makeBooklet.sh "$1" | 23 ./makeBooklet.sh "$1" |
17 ./makeBooke.sh Nook "$1" | 24 |
25 # Web output. | |
18 ./makeWebGraphics.sh "$1" | 26 ./makeWebGraphics.sh "$1" |
19 ./makeWebAudio.sh "$1" | 27 ./makeWebAudio.sh "$1" |
20 ./makeWeb.sh "$1" "$1" "$2" | 28 ./makeWeb.sh "$1" "$1" "$2" |
21 } | 29 } |
22 | 30 |
23 makeATransposedBooke() | 31 makeATransposedBooke() |
24 { | 32 { |
33 # Print graphics. | |
25 ./makeGraphics.sh "$1" | 34 ./makeGraphics.sh "$1" |
35 | |
36 # Normal graphics printed output. | |
26 ./makeBookeTunePages.sh "$1" | 37 ./makeBookeTunePages.sh "$1" |
27 ./makeBooke.sh A4 "$1" | 38 ./makeBooke.sh A4 "$1" |
39 ./makeBooke.sh Nook "$1" | |
40 | |
41 # Compact graphics printed output. | |
42 ./makeBookeTunePages.sh --use-compact "$1" | |
28 ./makeBooke.sh A5 "$1" | 43 ./makeBooke.sh A5 "$1" |
29 ./makeBooklet.sh "$1" | 44 ./makeBooklet.sh "$1" |
30 ./makeBooke.sh Nook "$1" | 45 |
46 # Web output. Uses audio from main booke. | |
31 ./makeWebGraphics.sh "$1" | 47 ./makeWebGraphics.sh "$1" |
32 ./makeWeb.sh "$1" "$2" "$3" | 48 ./makeWeb.sh "$1" "$2" "$3" |
33 } | 49 } |
34 | 50 |
35 makeASingleBooke() | 51 makeASingleBooke() |