1 #!/usr/bin/bash 2 lilypond-book --format=texi --output=mozart $1.texi 3 cd mozart 4 tex $1.texi 5 texindex $1.cp 6 tex $1.texi 7 dvips -P pdf $1.dvi 8 ps2pdf $1.ps 9 xdg-open $1.pdf 10 cd ../ 11 ls -l