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 white-clouds.ly[Enter]
usally; $ lilypond --format=png white-clouds.ly[Enter]
>run--multiple white-clouds[Enter]
This requires LilyPond 2.24.0 + TeXLive + Ghostscript.
----------- File name is run--multiple.cmd ------------------------------------------- chcp 437 mkdir html lilypond -E %1.ly lilypond --format=pdf %1.ly lilypond --format=svg %1.ly latex %1-sheet.latex dvips -t letter -P pdf %1-sheet.dvi rem gswin64 -sDEVICE=png16m -r120 -sOutputFile=%1-sheet.png -dNOPAUSE %1-sheet.ps -c quit call ps2pdf %1-sheet.ps rem makeinfo --no-split --force --html %1.texi rename *.mid *.midi move /y *.svg html\ move /y *.pdf html\ move /y *.midi html\ 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 white-clouds.ly[Enter]
usally; $ lilypond --format=png white-clouds.ly[Enter]
$ ./run--multiple.sh white-clouds[Enter]
This requires LilyPond 2.24.0 + TeXLive + Ghostscript.
----------- File name is run--multiple.sh ------------------------------------------- #!/usr/bin/bash mkdir html lilypond -E $1.ly lilypond --format=pdf $1.ly lilypond --format=svg $1.ly latex $1-sheet.latex dvips -t letter -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/ 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 ---------------------------------------------------------------------------------