SIZE="9X12"
#
LILYPOND="lilypond -dpaper-size=\"gooeytar_$SIZE\""
#
$LILYPOND frontpage.ly
$LILYPOND version.ly
$LILYPOND blank1.ly
$LILYPOND blank.ly

lilypond mg_divertimenti.ly

echo "fixing broken pdfs"

qpdf --linearize mg_divertimenti.pdf s.pdf

mv s.pdf mg_divertimenti.pdf

qpdf --empty \
     --pages \
	frontpage.pdf \
	version.pdf \
	blank.pdf \
	mg.pdf \
	mg_divertimenti.pdf \
	blank2.pdf \
      -- Mg_divertimenti.pdf

