Strip any '-<instrument>' from section name for booke text.
This commit is contained in:
parent
a7ea1e0a85
commit
9cd0fabe90
|
@ -56,6 +56,8 @@ rm -f $builddir/firstlines.tex
|
|||
while [ $# -gt 0 ]
|
||||
do
|
||||
section=$dir/$1
|
||||
# Section name - strip any instrument name off the end.
|
||||
sectionname=${1/-*/}
|
||||
|
||||
for item in title subtitle instrument
|
||||
do
|
||||
|
@ -76,8 +78,8 @@ do
|
|||
fi
|
||||
done
|
||||
|
||||
sed -e "s/@SECTION@/$1/" dottes.tex.section-tunes >> $builddir/tunes.tex
|
||||
sed -e "s/@SECTION@/$1/" dottes.tex.section-firstlines >> $builddir/firstlines.tex
|
||||
sed -e "s/@SECTION@/$sectionname/" dottes.tex.section-tunes >> $builddir/tunes.tex
|
||||
sed -e "s/@SECTION@/$sectionname/" dottes.tex.section-firstlines >> $builddir/firstlines.tex
|
||||
|
||||
shift
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue