Mercurial > dottes
comparison makeGraphics.sh @ 313:aa803fd1c3a6
Use a abcm2pc format file to format the single lines.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 12 Jul 2013 14:25:05 +0100 |
parents | 67dc98ae4816 |
children | ce5c7214f9aa |
comparison
equal
deleted
inserted
replaced
312:8bc92e044e0a | 313:aa803fd1c3a6 |
---|---|
32 pdfcrop $graphicsdir/$name-tocrop.pdf $graphicsdir/$name.pdf | 32 pdfcrop $graphicsdir/$name-tocrop.pdf $graphicsdir/$name.pdf |
33 rm $graphicsdir/$name-tocrop.pdf | 33 rm $graphicsdir/$name-tocrop.pdf |
34 | 34 |
35 # and make the first line graphic. | 35 # and make the first line graphic. |
36 $dir/abcfirstline.py $filename > firstline.abc | 36 $dir/abcfirstline.py $filename > firstline.abc |
37 abcm2ps +c -M +Q -E -O $graphicsdir/firstline-$name.eps firstline.abc | 37 abcm2ps -E -F firstline -O $graphicsdir/firstline-$name.eps firstline.abc |
38 mv $graphicsdir/firstline-${name}001.eps $graphicsdir/firstline-${name}.eps | 38 mv $graphicsdir/firstline-${name}001.eps $graphicsdir/firstline-${name}.eps |
39 rm firstline.abc | 39 rm firstline.abc |
40 epstopdf --outfile=$graphicsdir/firstline-$name-tocrop.pdf $graphicsdir/firstline-${name}.eps | 40 epstopdf --outfile=$graphicsdir/firstline-$name-tocrop.pdf $graphicsdir/firstline-${name}.eps |
41 # And crop it, so the graphic is as big as possible on the page. | 41 # And crop it, so the graphic is as big as possible on the page. |
42 pdfcrop $graphicsdir/firstline-$name-tocrop.pdf $graphicsdir/firstline-$name.pdf | 42 pdfcrop $graphicsdir/firstline-$name-tocrop.pdf $graphicsdir/firstline-$name.pdf |