Rem build tex file from songbook file python songbook.py --songbook=books\%1.sb --output=%1.tex Rem 1st pdf compilation pdflatex %1.tex Rem build indexes python songbook-makeindex.py %1_title.sxd > %1_title.sbx python songbook-makeindex.py %1_auth.sxd > %1_auth.sbx Rem 2nd compilation to include indexes pdflatex %1.tex