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 plaza.ly[Enter]
usally; $ lilypond --format=png plaza.ly[Enter]
>run--lily plaza[Enter]
This requires LilyPond 2.24.0 + TeXLive + Ghostscript.
----------- File name is run--lily.cmd ------------------------------------------- chcp 437 mkdir html rem lilypond ver 2.22.2-1 and ver 2.24.0 !! lilypond --eps %1.ly lilypond --format=pdf %1.ly lilypond --format=svg %1.ly rem See %1-sheet.latex !! latex %1-sheet.latex dvips -t letterpepar -P pdf %1-sheet.dvi rem gswin64c -sDEVICE=png16m -r120 -sOutputFile=%1-sheet.png -dNOPAUSE %1-sheet.ps -c quit call ps2pdf %1-sheet.ps rename *.mid *.midi move /y *.svg html\ move /y *.pdf html\ move /y *.midi html\ cd html %1.svg cd ..\ html\%1.pdf | html\%1-sheet.pdf | html\%1.midi rem pause erase *.aux *.log *.ps *eps *.dvi *.mid dir /oe ---------------------------------------------------------------------------------
¶ linux OS(wsl); (Recommend)
usally; $ lilypond --format=pdf plaza.ly[Enter]
usally; $ lilypond --format=png plaza.ly[Enter]
$ ./run--lily.sh plaza[Enter]
This requires LilyPond 2.24.0 + TeXLive + Ghostscript.
----------- File name is run--lily.sh ------------------------------------------- #!/usr/bin/bash mkdir html ### lilypond ver 2.22.2-1 and ver 2.24.0 lilypond --eps $1.ly lilypond --format=pdf $1.ly lilypond --format=svg $1.ly ### See in $1-sheet.latex !! latex $1-sheet.latex dvips -t letterpepar -P pdf $1-sheet.dvi # gs -sDEVICE=png16m -r120 -sOutputFile=$1-sheet.png -dNOPAUSE $1-sheet.ps -c quit ps2pdf $1-sheet.ps # makeinfo --no-split --force --html $1.texi mv *.svg html/ mv *.pdf html/ mv *.midi html/ cd html explorer.exe $1.svg cd ../ xdg-open html/$1.pdf | xdg-open html/$1-sheet.pdf | xdg-open html/$1.midi # read -p "Hit enter: " rm *.aux *.log *.dvi *.ps *.eps ls -l -----------------------------------------------------------------------------------