Mercurial > dottes
comparison makeGraphics.sh @ 122:295ba8275ab4
Make output larger where possible.
This is done by
a) reducing the page margins
b) compressing the heading and removing all but Notes: fields.
The latter produced vertically smaller tune PDFs that will scale wider.
In the process, modify abctitle.py to extract the first of any header field, and
move formatting for a single tune into a .fmt file.
author | Jim Hague <jim.hague@laicatc.com> |
---|---|
date | Sat, 21 Apr 2012 19:47:30 +0100 |
parents | 8f3b50ede59c |
children | 67dc98ae4816 |
comparison
equal
deleted
inserted
replaced
121:586631d3b9be | 122:295ba8275ab4 |
---|---|
21 while read filename | 21 while read filename |
22 do | 22 do |
23 name=`basename $filename .abc` | 23 name=`basename $filename .abc` |
24 | 24 |
25 # Make the tune graphic. | 25 # Make the tune graphic. |
26 abcm2ps -j0 +c -n -E -O $graphicsdir/$name.eps $filename | 26 abcm2ps -E -F singletune -O $graphicsdir/$name.eps $filename |
27 # Make $name.eps so we can build with LaTeX. | 27 # Make $name.eps so we can build with LaTeX. |
28 mv $graphicsdir/${name}001.eps $graphicsdir/${name}.eps | 28 mv $graphicsdir/${name}001.eps $graphicsdir/${name}.eps |
29 # And make the corresponding PDF. | 29 # And make the corresponding PDF. |
30 epstopdf --outfile=$graphicsdir/$name.pdf $graphicsdir/${name}.eps | 30 epstopdf --outfile=$graphicsdir/$name.pdf $graphicsdir/${name}.eps |
31 | 31 |