forked from CryHavoc/dottes
Make sure section names strip any '-<instrument>' filename decoration.
This commit is contained in:
parent
bd2929528b
commit
676554040a
|
@ -1,4 +1,4 @@
|
|||
\section{@SECTION@ tunes}
|
||||
\section{@SECTIONNAME@ tunes}
|
||||
|
||||
{\renewcommand{\arraystretch}{2.5}
|
||||
\setlength\LTleft{0pt}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
\newpage
|
||||
|
||||
\addcontentsline{toc}{chapter}{@SECTION@ tunes}
|
||||
\addcontentsline{toc}{chapter}{@SECTIONNAME@ tunes}
|
||||
|
||||
\vspace*{\fill}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue