¶ Windows OS
usally;>lilypond --png --pdf milano3.ly[Enter]
However, this "LilyPond 2.24.0 + TeXLive + Ghostscript(64bit)" is required.
>run--lily milano3[Enter]
----------- 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
---------------------------------------------------------------------------------
|
|
¶ Ubuntu OS; (Recommend)
usally;$ lilypond --png --pdf milano3[Enter]
However, this "LilyPond 2.24.0 + TeXLive + Ghostscript" is required.
$ ./run--lily.sh milano3[Enter]
----------- 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
-----------------------------------------------------------------------------------
|