Mercurial > dottes
comparison makeWeb.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 | a63e39fc3410 |
children | c88c74d27d68 |
comparison
equal
deleted
inserted
replaced
121:586631d3b9be | 122:295ba8275ab4 |
---|---|
35 | 35 |
36 # Now, for each tune, make the tune graphic and sound. | 36 # Now, for each tune, make the tune graphic and sound. |
37 find $booke -name "*.abc" | sort | | 37 find $booke -name "*.abc" | sort | |
38 while read filename | 38 while read filename |
39 do | 39 do |
40 title=`$dir/abctitle.py --html $filename` | 40 title=`$dir/abcfield.py --field T --html $filename` |
41 name=`basename $filename .abc` | 41 name=`basename $filename .abc` |
42 | 42 |
43 # Copy tune PDF from common graphics. | 43 # Copy tune PDF from common graphics. |
44 cp $graphicsdir/${name}.pdf $webdir | 44 cp $graphicsdir/${name}.pdf $webdir |
45 | 45 |