run--svg-latex.cmd

@Echo off
REM "3/1/2017 03:14 Make; yukio Yoshida"
RD /s /q svg
chcp 437
prompt $_
@Echo on
rem === This is Letter paper ! Are you OK? ===
@Echo off
pause
@Echo off
MD svg
copy /y  html\*.* svg\
@Echo on
REM ----- ! make svg, running %1.ly ----------------------------------------------
lilypond -dbackend=svg  %1.ly
copy /y *.svg svg\
copy /y *.mid svg\
del *.svg
REM ----- ! make eps, running %1.ly ; This is for Sheet-LaTeX --------------------
lilypond -dbackend=eps %1.ly
REM ----- ! make pdf, running %1.ly ----------------------------------------------
lilypond --pdf %1.ly
REM ----- ! From here process for %1-sheet.latex ---And, View(svg,pdf,mid) on HTML
latex %1-sheet.latex
dvips -t letter -P pdf %1-sheet.dvi
call ps2pdf %1-sheet.ps
copy /y %1.pdf svg\
copy /y %1-sheet.pdf svg\
copy /y *.mid svg\
cd svg
svg-%1.html
pause
cd ..\
erase *.count *.out *.aux *.log *.dvi *.ps *.tex *.texi *.eps *.png *.pdf *.mid
@Echo off
prompt $p$g
@Echo on
dir /oe html
dir /oe svg
dir /oe