diff --git a/dottes.tex.section-firstlines b/dottes.tex.section-firstlines index 4b9198c..f61a3ab 100644 --- a/dottes.tex.section-firstlines +++ b/dottes.tex.section-firstlines @@ -1,4 +1,4 @@ -\section{@SECTION@ tunes} +\section{@SECTIONNAME@ tunes} {\renewcommand{\arraystretch}{2.5} \setlength\LTleft{0pt} diff --git a/dottes.tex.section-tunes b/dottes.tex.section-tunes index a430577..4ccc574 100644 --- a/dottes.tex.section-tunes +++ b/dottes.tex.section-tunes @@ -2,7 +2,7 @@ \newpage -\addcontentsline{toc}{chapter}{@SECTION@ tunes} +\addcontentsline{toc}{chapter}{@SECTIONNAME@ tunes} \vspace*{\fill} diff --git a/makeBooke.sh b/makeBooke.sh index 03d489c..b67c256 100755 --- a/makeBooke.sh +++ b/makeBooke.sh @@ -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