From 8bd1c512c6fd7dfb0f573220ad2eef44cd6c63b6 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Fri, 12 Jul 2013 14:25:05 +0100 Subject: [PATCH] Use a abcm2pc format file to format the single lines. --- firstline.fmt | 15 +++++++++++++++ makeGraphics.sh | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 firstline.fmt diff --git a/firstline.fmt b/firstline.fmt new file mode 100644 index 0000000..3742ca4 --- /dev/null +++ b/firstline.fmt @@ -0,0 +1,15 @@ +% Format for a graphic with a single tune +continueall false +measurenb false +writefields SRBDZHN 0 +titleformat +titlespace 0 +topspace 0 +infoline false +writehistory false +musiconly true +scale 0.9 +botmargin 0pt +leftmargin 0pt +rightmarin 0pt +topmargin 0pt diff --git a/makeGraphics.sh b/makeGraphics.sh index dbdb550..59fec1d 100755 --- a/makeGraphics.sh +++ b/makeGraphics.sh @@ -34,7 +34,7 @@ find $booke -name "*.abc" | sort | # and make the first line graphic. $dir/abcfirstline.py $filename > firstline.abc - abcm2ps +c -M +Q -E -O $graphicsdir/firstline-$name.eps firstline.abc + abcm2ps -E -F firstline -O $graphicsdir/firstline-$name.eps firstline.abc mv $graphicsdir/firstline-${name}001.eps $graphicsdir/firstline-${name}.eps rm firstline.abc epstopdf --outfile=$graphicsdir/firstline-$name-tocrop.pdf $graphicsdir/firstline-${name}.eps