Previous: ("dir"), Up: ("dirTop")
This is under the following environment.
"Linux[on WSL(windows11)] —(GNU/Linux 4.4.0-19041-Microsoft x86_64) or (GNU/Linux 5.10.16.3-microsoft-standard-WSL2 x86_64)—"
¶ Windows OS
usally; $ lilypond --format=pdf lacrimosa.ly[Enter]
usally; $ lilypond --format=png lacrimosa.ly[Enter]
>run--multiple lacrimosa[Enter]
This requires LilyPond 2.24.0 + TeXLive + Ghostscript.
----------- File name is run--multiple.cmd ------------------------------------------- chcp 437 rd /s /q html copy title-eps\*.eps lilypond --pdf %1.ly mkdir html move %1.pdf html\ ren %1.mid %1.midi lilypond -E %1.ly lilypond --svg %1.ly latex %1-sheet.latex dvips -t letter -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 %1-sheet-page*.png html\ move *.svg html\ move *.midi html\ copy refer\*.html html\ cd html %1-sheet.pdf | %1.midi | %1-sheet.html cd ..\ erase *.out *.count *.aux *.log *.tex *.texi erase *.dvi *.ps *.eps *.png *.pdf *.mid dir /oe ---------------------------------------------------------------------------------
¶ linux OS(wsl);
usally; $ lilypond --format=pdf lacrimosa.ly[Enter]
usally; $ lilypond --format=png lacrimosa.ly[Enter]
$ ./run--multiple.sh lacrimosa[Enter]
This requires LilyPond 2.24.0 + TeXLive + Ghostscript.
----------- File name is run--multiple.sh ------------------------------------------- #!/usr/bin/bash rm -r html cp title-eps/*.eps ./ lilypond --pdf $1.ly mkdir html mv $1.pdf html/ lilypond -E $1.ly lilypond --svg $1.ly latex $1-sheet.latex dvips -t letterpaper -P pdf $1-sheet.dvi gs -sDEVICE=png16m -r120 -sOutputFile=$1-sheet-page%d.png -dNOPAUSE $1-sheet.ps -c quit ps2pdf $1-sheet.ps mv $1-sheet.pdf html/ mv $1-sheet-page*.png html/ mv *.svg html/ mv *.midi html/ cp refer/*.html html/ cd html xdg-open $1-sheet.pdf | xdg-open $1.midi | explorer.exe $1-sheet.html cd ../ rm *.out *.count *.aux *.log *.tex *.texi rm *.dvi *.ps *.eps *.png *.pdf ls -la ---------------------------------------------------------------------------------