mirror of https://github.com/patacrep/patacrep.git
Engine for LaTeX songbooks
http://www.patacrep.com
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
363 B
15 lines
363 B
13 years ago
|
#!/bin/sh
|
||
|
#
|
||
|
echo "build tex file from songbook file"
|
||
|
./songbook.py --songbook=books/$1.sb --output=$1.tex
|
||
|
|
||
|
echo "first pdf compilation"
|
||
|
/usr/texbin/pdflatex $1.tex
|
||
|
|
||
|
echo "build indexes"
|
||
|
./songbook-makeindex.py $1_title.sxd > $1_title.sbx
|
||
|
./songbook-makeindex.py $1_auth.sxd > $1_auth.sbx
|
||
|
|
||
|
echo "second compilation to include indexes"
|
||
|
/usr/texbin/pdflatex $1.tex
|