Make sure section names strip any '-<instrument>' filename decoration.

This commit is contained in:
Jim Hague 2017-09-14 14:11:00 +01:00
parent bd2929528b
commit 676554040a
3 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
\section{@SECTION@ tunes}
\section{@SECTIONNAME@ tunes}
{\renewcommand{\arraystretch}{2.5}
\setlength\LTleft{0pt}

View File

@ -2,7 +2,7 @@
\newpage
\addcontentsline{toc}{chapter}{@SECTION@ tunes}
\addcontentsline{toc}{chapter}{@SECTIONNAME@ tunes}
\vspace*{\fill}

View File

@ -78,8 +78,8 @@ do
fi
done
sed -e "s/@SECTION@/$sectionname/" dottes.tex.section-tunes >> $builddir/tunes.tex
sed -e "s/@SECTION@/$sectionname/" dottes.tex.section-firstlines >> $builddir/firstlines.tex
sed -e "s/@SECTION@/$1/" -e "s/@SECTIONNAME@/$sectionname/" dottes.tex.section-tunes >> $builddir/tunes.tex
sed -e "s/@SECTION@/$1/" -e "s/@SECTIONNAME@/$sectionname/" dottes.tex.section-firstlines >> $builddir/firstlines.tex
shift
done