#!/usr/bin/bash
rm -r html
lilypond --pdf --png $1.ly
lilypond --svg $1.ly
makeinfo --no-split --force --html $1.texi
mkdir html
mv *.pdf html/
mv *html html/
mv $1-page1.png html/
mv *.midi html/
cp $1-page1.png html/
lilypond --eps $1.ly
latex $1-sheet.latex
dvips -t letterpaper -P pdf $1-sheet.dvi
ps2pdf $1-sheet.ps
mv $1-sheet.pdf html/
cd html
xdg-open $1-sheet.pdf | xdg-open $1.html | xdg-open $1.midi
cd ../
rm *.aux *.log *.dvi *.ps *.eps *.png *.midi *.svg
ls -lX


