fix: make lilypond write to correctly sized PNG directly
4 files changed, 12 insertions(+), 2 deletions(-)

M build.sh
M delfini-tune.ly
M der-falke-tune.ly
M oh-imk.flk
M build.sh +1 -1
@@ 13,7 13,7 @@ for i in *ly; do
     # cannot use pdf as backend with epubli
     # gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dCompatibilityLevel=1.3 -dPDFSETTINGS=/printer -dColorImageResolution=600 -dEmbedAllFonts=true -sOutputFile="$(basename "$i" .ly)".pdf "$(basename "$i" .ly)"-lily.pdf
     # rm "$(basename "$i" .ly)".pdf
-    convert -density 600 "$(basename "$i" .ly)"-lily.pdf "$(basename "$i" .ly)".png
+    # convert -density 600 "$(basename "$i" .ly)"-lily.pdf "$(basename "$i" .ly)".png
 done
 make
 make zongbook.pdf

          
M delfini-tune.ly +5 -1
@@ 1,8 1,12 @@ 
-\version "2.19.80"
+\version "2.24.1"
 
 % compile with lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --pdf -o delfini-tune delfini-tune.ly; make -B delfini.pdf
 % listen: lilypond delfini-tune.ly && timidity delfini-tune.midi
 
+% fix the size of the export and force exporting to PNG.
+#(ly:set-option 'use-paper-size-for-page #f)
+#(ly:set-option 'tall-page-formats 'png)
+
 % No Hyperlink to the source file behind the music.
 \pointAndClickOff
 

          
M der-falke-tune.ly +4 -0
@@ 3,6 3,10 @@ 
 % compile with lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts --pdf -o der-falke-tune der-falke-tune.ly; make -B der-falke.pdf
 % listen: lilypond der-falke-tune.ly && timidity der-falke-tune.midi
 
+% fix the size of the export and force exporting to PNG.
+#(ly:set-option 'use-paper-size-for-page #f)
+#(ly:set-option 'tall-page-formats 'png)
+
 % No Hyperlink to the source file behind the music.
 \pointAndClickOff
 

          
M oh-imk.flk +2 -0
@@ 2,6 2,8 @@ 
 
 \index{Oh ASF, Oh ASF, du kannst mir sehr gefallen.} % shown in the first-line index
 
+\Large
+
 Oh [C]ASF, Oh [a]ASF, du [F]kannst mir [G]sehr ge[c]fallen.
 Rutscht [C]Gloria durch [G]Eis und Schnee,
 Den [G]BrĂ¼dern tut das [C]gar nicht weh.