comparison makeBooke.sh @ 814:f5f6517a8bdf build-default-305

Add section picture to the section title page on printed Bookes only. I guess these could be added to be website, but right now I don't think they'd add much. On paper, they fill some blank space.
author Jim Hague <jim.hague@acm.org>
date Mon, 11 Jun 2018 09:47:58 +0100
parents ce5c7214f9aa
children 7cc06a68a572
comparison
equal deleted inserted replaced
813:f78a3816fc8b 814:f5f6517a8bdf
63 do 63 do
64 section=$dir/$1 64 section=$dir/$1
65 # Section name - strip any instrument name off the end. 65 # Section name - strip any instrument name off the end.
66 sectionname=${1/-*/} 66 sectionname=${1/-*/}
67 67
68 for item in title subtitle instrument 68 for item in title.txt subtitle.txt instrument.txt image.jpg
69 do 69 do
70 rm -f $builddir/$1-$item.txt 70 rm -f $builddir/$1-$item
71 if [ -r $section/$item.txt ]; then 71 if [ -r $section/$item ]; then
72 cp $section/$item.txt $builddir/$1-$item.txt 72 cp $section/$item $builddir/$1-$item
73 else 73 else
74 touch $builddir/$1-$item.txt 74 touch $builddir/$1-$item
75 fi 75 fi
76 done 76 done
77 for item in intro 77 for item in intro
78 do 78 do
79 rm -f $builddir/$1-$item.tex 79 rm -f $builddir/$1-$item.tex