#!/bin/bash

PATH=/home/evret/lilypond-2.24.4/bin/:$PATH

#
lilypond joplin.ly
lilypond frontpage.ly
lilypond version.ly
lilypond blank1.ly
#lilypond blank.ly


echo "fixing broken pdfs"

qpdf --linearize joplin.pdf s.pdf

mv s.pdf joplin.pdf
#
qpdf --empty \
    --pages \
	frontpage.pdf \
	version.pdf \
	joplin.pdf \
      -- Joplin.pdf

