Fix up problems in Horn in F transposition.

1. Ensure makeWeb.sh gets its second parameter quoted, to allow for spaces in it.
2. Don't forget to copy the component text items into the horn dir.
3. Fix removing transposition tag from page title.
This commit is contained in:
Jim Hague 2013-02-20 13:45:58 +00:00
parent 18727830fa
commit 3a567e0637
3 changed files with 10 additions and 6 deletions

View File

@ -9,11 +9,11 @@ fi
makeABooke() makeABooke()
{ {
./makeGraphics.sh $1 ./makeGraphics.sh "$1"
./makeBookeA5.sh $1 ./makeBookeA5.sh "$1"
./makeBookeA4.sh $1 ./makeBookeA4.sh "$1"
./makeWebItems.sh $1 ./makeWebItems.sh "$1"
./makeWeb.sh $1 $2 ./makeWeb.sh "$1" "$2"
} }
makeABooke $1 makeABooke $1

View File

@ -14,6 +14,9 @@ outdir=$dir/$1-HornInF
mkdir -p $outdir mkdir -p $outdir
# Copy book component items.
cp $booke/*.txt $outdir
find $booke -name "*.abc" | sort | find $booke -name "*.abc" | sort |
while read filename while read filename
do do

View File

@ -29,7 +29,8 @@ if [ -r $bookedir/intro.txt ]; then
fi fi
if [ -n "$2" ]; then if [ -n "$2" ]; then
title="${title/-.*$//} ($2)" # Remove any transposition tag from title.
title="${title/-*/} ($2)"
subtitle="${subtitle} ($2)" subtitle="${subtitle} ($2)"
fi fi