Mercurial > dottes
comparison makeWebGraphics.sh @ 321:b61c39beac5f
Generate different tune PDF for web site download.
For website download, generate a tune PDF with the tune title and composer.
Seems a bit silly to download a PDF giving an anonymouse tune.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 17 Jul 2013 18:28:07 +0100 |
parents | 77372a0166fe |
children | 4cc820c7cf04 |
comparison
equal
deleted
inserted
replaced
320:c0262e58abf6 | 321:b61c39beac5f |
---|---|
28 convert -density 96 $graphicsdir/${name}.pdf $builddir/${tmpname}.png | 28 convert -density 96 $graphicsdir/${name}.pdf $builddir/${tmpname}.png |
29 convert -density 96 $graphicsdir/firstline-${name}.pdf $builddir/firstline-${tmpname}.png | 29 convert -density 96 $graphicsdir/firstline-${name}.pdf $builddir/firstline-${tmpname}.png |
30 | 30 |
31 mv $builddir/${tmpname}.png $builddir/${name}.png | 31 mv $builddir/${tmpname}.png $builddir/${name}.png |
32 mv $builddir/firstline-${tmpname}.png $builddir/firstline-${name}.png | 32 mv $builddir/firstline-${tmpname}.png $builddir/firstline-${name}.png |
33 | |
34 # Make the web downloadable PDF with the tune title. | |
35 abcm2ps -E -F singletuneweb -O $builddir/$name.eps $filename | |
36 # And make the corresponding PDF. | |
37 epstopdf --outfile=$builddir/$name.pdf $builddir/${name}001.eps | |
33 done | 38 done |