Mercurial > dottes
comparison makeBooke.sh @ 32:b05fca550d33
Revert to putting Change: notices into the notes.
W: is for words/lyrics. None at present in Session tunes, but they do
exist in Morris tunes, and who knows what might happen in sessions in
future. I want to keep the option of adding words.
So move Change: notices back to N:, and have all notes printed.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 02 Mar 2012 10:46:43 +0000 |
parents | b61b090cd4c7 |
children | 80af9457d566 |
comparison
equal
deleted
inserted
replaced
31:cce278f78e01 | 32:b05fca550d33 |
---|---|
30 while read filename | 30 while read filename |
31 do | 31 do |
32 title=`grep "^T:" $filename | head -1 | sed -e "s/^T: *//"` | 32 title=`grep "^T:" $filename | head -1 | sed -e "s/^T: *//"` |
33 name=`basename $filename .abc` | 33 name=`basename $filename .abc` |
34 echo "\\\\addcontentsline{toc}{subsection}{$title}" >> $builddir/$output | 34 echo "\\\\addcontentsline{toc}{subsection}{$title}" >> $builddir/$output |
35 echo "\\\\begin{abc}[options=-j0 +c,name=$name]" >> $builddir/$output | 35 echo "\\\\begin{abc}[options=-j0 +c -n,name=$name]" >> $builddir/$output |
36 cat $filename >> $builddir/$output | 36 cat $filename >> $builddir/$output |
37 echo "\\\\end{abc}" >> $builddir/$output | 37 echo "\\\\end{abc}" >> $builddir/$output |
38 done | 38 done |
39 | 39 |
40 cat dottes.tex.footer >> $builddir/$output | 40 cat dottes.tex.footer >> $builddir/$output |