Mercurial > dottes
view makeBooklet.sh @ 608:b4eb1753c80f
Up the resolution of the web graphics.
This will result in increased image size, on the order of 18k->32k, but
I'm fed up with the blurriness of the current images. Ideally I'd move
to SVG for the web images, but Mick reckons that SVG support on mobile
browsers is still limited. Suspect he's probably right.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 04 Nov 2016 23:31:40 +0000 |
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