changeset 45:689026e2de0c

Web. Add download links for book.
author Jim Hague <jim.hague@laicatc.com>
date Sun, 04 Mar 2012 13:07:50 +0000
parents a636787724de
children 55f1efed28ba
files dottes.html.header makeWeb.sh
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/dottes.html.header	Sun Mar 04 13:07:25 2012 +0000
+++ b/dottes.html.header	Sun Mar 04 13:07:50 2012 +0000
@@ -7,6 +7,12 @@
 <p>
 @INTRO@
 <p>
+You can download a PDF with a booklet of these tunes. There is a
+<a href="@BOOK@.pdf">single-sided A5 landscape book</a>, or if you
+have a printer that can do duplex (i.e. print on both sides of the
+paper), you might like the
+<a href="@BOOK@-booklet.pdf">double-sided A4 producing an A5 booklet</a>.
+<p>
 Issue @BUILD@
 <p>
 <table>
--- a/makeWeb.sh	Sun Mar 04 13:07:25 2012 +0000
+++ b/makeWeb.sh	Sun Mar 04 13:07:50 2012 +0000
@@ -31,6 +31,8 @@
 sed -e "s/@BUILD@/$buildno/" -e "s/@SUBTITLE@/$subtitle/" \
     -e "s/@INTRO@/$intro/" -e "s/@BOOK@/$1/" dottes.html.header > $webdir/$output
 
+cp $1.pdf $1-booklet.pdf $webdir
+
 # Now, for each tune, make the tune graphic and sound.
 find $booke -name "*.abc" | sort |
     while read filename