Use a abcm2pc format file to format the single lines.

This commit is contained in:
Jim Hague 2013-07-12 14:25:05 +01:00
parent 8554e9e664
commit 8bd1c512c6
2 changed files with 16 additions and 1 deletions

15
firstline.fmt Normal file
View File

@ -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

View File

@ -34,7 +34,7 @@ find $booke -name "*.abc" | sort |
# and make the first line graphic. # and make the first line graphic.
$dir/abcfirstline.py $filename > firstline.abc $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 mv $graphicsdir/firstline-${name}001.eps $graphicsdir/firstline-${name}.eps
rm firstline.abc rm firstline.abc
epstopdf --outfile=$graphicsdir/firstline-$name-tocrop.pdf $graphicsdir/firstline-${name}.eps epstopdf --outfile=$graphicsdir/firstline-$name-tocrop.pdf $graphicsdir/firstline-${name}.eps