2015-12-09 19:30:20 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
SHELLCMD='sh'
|
|
|
|
PYTHONCMD='python3.4'
|
|
|
|
LATEXCMD='pdflatex'
|
|
|
|
|
|
|
|
#$SHELLCMD load_scores
|
|
|
|
|
|
|
|
#$PYTHONCMD makebook -o tex/main_full.tex full
|
|
|
|
#$PYTHONCMD makebook -o tex/main_drums.tex drums
|
|
|
|
#$PYTHONCMD makebook -o tex/main_pipes.tex pipes
|
|
|
|
#$PYTHONCMD makebook -o tex/main_bass.tex bass
|
|
|
|
#$PYTHONCMD makebook -o tex/main_tenor.tex tenor
|
|
|
|
#$PYTHONCMD makebook -o tex/main_side.tex side snare
|
|
|
|
|
|
|
|
for ins in tenor;
|
|
|
|
do
|
|
|
|
printf "\\documentclass{tex/score_book}
|
|
|
|
|
2015-12-11 11:25:33 +01:00
|
|
|
\\title{Seaforth Highlanders of Holland\\\\ %s Scores}
|
|
|
|
\\author{Eric Teunis de Boone}
|
2015-12-09 19:30:20 +01:00
|
|
|
|
|
|
|
\\begin{document}
|
|
|
|
|
|
|
|
\\input{./tex/titlepage.tex}
|
|
|
|
|
|
|
|
\\newpage
|
|
|
|
\\cleardoublepage
|
|
|
|
\\phantomsection
|
|
|
|
\\addcontentsline{toc}{section}{\contentsname}
|
|
|
|
\\begin{multicols}{2}
|
|
|
|
\\tableofcontents
|
|
|
|
\\end{multicols}
|
|
|
|
|
|
|
|
%\\newpage
|
|
|
|
%\\input{./tex/playlist}
|
|
|
|
\\newpage
|
|
|
|
\\input{./tex/main_%s.tex}
|
|
|
|
\\end{document}
|
|
|
|
" "$instr" "$instr"
|
|
|
|
done;
|
|
|
|
|
|
|
|
echo "All setup!"
|
|
|
|
|
2015-12-11 11:25:33 +01:00
|
|
|
#read -p "Press [Enter] to compile *.tex"
|
2015-12-09 19:30:20 +01:00
|
|
|
|
2015-12-11 11:25:33 +01:00
|
|
|
#for f in ./*.tex;
|
|
|
|
#do
|
|
|
|
# $LATEXCMD $f
|
|
|
|
#done;
|