1 chcp 437 2 rd /s /q html 3 lilypond --pdf --png %1.ly 4 mkdir html 5 move %1.pdf html\ 6 ren %1.mid %1.midi 7 lilypond -dbackend=svg %1.ly 8 lilypond -dbackend=eps %1.ly 9 latex %1-sheet.latex 10 dvips -t letter -P pdf %1-sheet.dvi 11 gswin64c -sDEVICE=png16m -r120 -sOutputFile=%1-sheet-page%%d.png -dNOPAUSE %1-sheet.ps -c quit 12 call ps2pdf %1-sheet.ps 13 move %1-sheet.pdf html\ 14 move %1-sheet-page*.png html\ 15 move *.svg html\ 16 move *.midi html\ 17 copy refer\*.html html\ 18 cd html 19 %1-sheet.pdf | %1-sheet.html 20 cd ..\ 21 erase *.count *.aux *.log *.tex *.texi *.ps 22 erase *.dvi *.eps *.png *.pdf *.mid 23 dir 24