diff 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
line wrap: on
line diff
--- a/makeWebGraphics.sh	Tue Jul 16 17:21:42 2013 +0100
+++ b/makeWebGraphics.sh	Wed Jul 17 18:28:07 2013 +0100
@@ -30,4 +30,9 @@
 
         mv $builddir/${tmpname}.png $builddir/${name}.png
         mv $builddir/firstline-${tmpname}.png $builddir/firstline-${name}.png
+
+        # Make the web downloadable PDF with the tune title.
+        abcm2ps -E -F singletuneweb -O $builddir/$name.eps $filename
+        # And make the corresponding PDF.
+        epstopdf --outfile=$builddir/$name.pdf $builddir/${name}001.eps
     done