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 milano.ly[Enter]
usally; $ lilypond --format=png milano.ly[Enter]
>run--lily milano[Enter]
This requires LilyPond 2.24.0 + TeXLive + Ghostscript.
----------- File name is run--lily.cmd ------------------------------------------- #!/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 ---------------------------------------------------------------------------------
¶ linux OS(wsl); (Recommend)
usally; $ lilypond --format=pdf milano.ly[Enter]
usally; $ lilypond --format=png milano.ly[Enter]
$ ./run--lily.sh milano[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 -----------------------------------------------------------------------------------