diff --git a/Library/image.jpg b/Library/image.jpg new file mode 100644 index 0000000..8d2dcc1 Binary files /dev/null and b/Library/image.jpg differ diff --git a/Morris/image.jpg b/Morris/image.jpg new file mode 100644 index 0000000..e321676 Binary files /dev/null and b/Morris/image.jpg differ diff --git a/Session/image.jpg b/Session/image.jpg new file mode 100644 index 0000000..7a5df9a Binary files /dev/null and b/Session/image.jpg differ diff --git a/dottes.tex b/dottes.tex index 6a955ab..ea4cfc4 100644 --- a/dottes.tex +++ b/dottes.tex @@ -75,6 +75,16 @@ \raisebox{-.4\height}{\includegraphics[width=0.77\textwidth]{#3}} \\ } +% Show the section graphic. +% Args are the graphic filename. +\newcommand{\showsectiongraphic}[1]{% + \vfill + \begin{center} + \includegraphics[width=0.25\textwidth,keepaspectratio]{#1} + \end{center} + \vfill +} + % ----- Paper size document setup \input{docsetup.tex} diff --git a/dottes.tex.section-tunes b/dottes.tex.section-tunes index 4ccc574..5c7e214 100644 --- a/dottes.tex.section-tunes +++ b/dottes.tex.section-tunes @@ -13,6 +13,7 @@ \vspace*{\fill} +\showsectiongraphic{@SECTION@-image.jpg} \input{@SECTION@-intro.tex} \newpage diff --git a/makeBooke.sh b/makeBooke.sh index d499131..4f53122 100755 --- a/makeBooke.sh +++ b/makeBooke.sh @@ -65,13 +65,13 @@ do # Section name - strip any instrument name off the end. sectionname=${1/-*/} - for item in title subtitle instrument + for item in title.txt subtitle.txt instrument.txt image.jpg do - rm -f $builddir/$1-$item.txt - if [ -r $section/$item.txt ]; then - cp $section/$item.txt $builddir/$1-$item.txt + rm -f $builddir/$1-$item + if [ -r $section/$item ]; then + cp $section/$item $builddir/$1-$item else - touch $builddir/$1-$item.txt + touch $builddir/$1-$item fi done for item in intro