chcp 437
rd /q/s html
lilypond --pdf %1.ly
mkdir html
move %1.pdf html\
lilypond --eps %1.ly
rem lilypond --svg %1.ly
latex %1-sheet.latex
dvips -t letterpaper -P pdf %1-sheet.dvi
gswin64c -sDEVICE=png16m -r120 -sOutputFile=%1-sheet-page%%d.png -dNOPAUSE %1-sheet.ps -c quit
call ps2pdf %1-sheet.ps
move %1-sheet.pdf html\
move *.png html\
rem  mv *.svg html\
move *.mid html\
copy refer\*.html html\
cd html
%1.mid | %1-sheet.html
cd ..\
erase *.aux *.log *.dvi *.ps *.eps
dir /oe
