Mercurial > dottes
view makeBooklet.sh @ 510:0a75c953c3c8 build-default-216
Add the Pugwash theme, aka the Trumpet Hornpipe.
I've checked this against YouTube and the first episode, and corrected an
obvious wrong note in Paul Hardy's version. But I've kept his descending
triplets in the last line of the B tune - the original has the same note,
with descending chords, but changing the triplets to remain on G doesn't
sound right.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 01 Aug 2014 23:41:42 +0100 |
parents | 06e140f48543 |
children |
line wrap: on
line source
#!/bin/bash # # Assuming the existance of the A5 PDF of the given Booke, produce the # A4 booklet-that-prints-as-A5. # if [ $# != 1 ]; then echo "Usage: makeBookelet.sh <book dir name>" exit 1 fi dir=`pwd` builddir=$dir/build booke=$1-A5.pdf # This assumes dottesA5.pdf as input. booklet=$dir/dottesA5onA4booklet.tex bookletpdf=$builddir/dottesA5onA4booklet.pdf mkdir -p $builddir cp $booke $builddir/dottesA5.pdf cd $builddir xelatex $booklet mv $bookletpdf $dir/${1}-A5bookletA4.pdf