diff makeBooke.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 4b0025be9d22
children
line wrap: on
line diff
--- a/makeBooke.sh	Fri Apr 13 16:21:14 2012 +0100
+++ b/makeBooke.sh	Sat Apr 21 19:47:30 2012 +0100
@@ -43,8 +43,9 @@
 find $booke -name "*.abc" | sort |
     while read filename
     do
-        title=`$dir/abctitle.py --latex $filename`
+        title=`$dir/abcfield.py --field T --latex $filename`
         name=`basename $filename .abc`
+        echo -E "\newpage" >> $builddir/$output
         echo -E "\begin{center}" >> $builddir/$output
         echo -E "\phantomsection" >> $builddir/$output
         echo -E "\hypertarget{$name}{\includegraphics[width=\textwidth,height=0.9\textheight,keepaspectratio]{$graphicsdir/$name}}" >> $builddir/$output
@@ -57,7 +58,7 @@
 find $booke -name "*.abc" | sort |
     while read filename
     do
-        title=`$dir/abctitle.py --latex $filename`
+        title=`$dir/abcfield.py --field T --latex $filename`
         name=`basename $filename .abc`
         echo -E "\hyperlink{$name}{$title} & \raisebox{-.25\height}{\includegraphics[width=0.6\textwidth]{$graphicsdir/firstline-$name}} \\\\" >> $builddir/$output
     done