Mercurial > dottes
changeset 264:1d9a6aaba914
Revert attempt at getting Change: notices closer to music in print.
My previous attempt appeared to work, but didn't actually centre graphics
if the graphic was less than page width.
Revert, and instead add a \vfill before the tune to leave more blank space
between multiples tunes on a page, It's more obvious then which tune the
change belongs to. Not idea, but the best I can do for now.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Fri, 21 Jun 2013 21:20:18 +0100 |
parents | 7b98278d6e8b |
children | 3e5335396f48 |
files | dottes.tex.a4header dottes.tex.a5header makeBookeA4.sh makeBookeA5.sh |
diffstat | 4 files changed, 6 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/dottes.tex.a4header Fri Jun 21 20:00:54 2013 +0100 +++ b/dottes.tex.a4header Fri Jun 21 21:20:18 2013 +0100 @@ -3,7 +3,6 @@ \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{longtable} -\usepackage{float} \usepackage[toc]{multitoc} \usepackage{hyperref}
--- a/dottes.tex.a5header Fri Jun 21 20:00:54 2013 +0100 +++ b/dottes.tex.a5header Fri Jun 21 21:20:18 2013 +0100 @@ -3,7 +3,6 @@ \usepackage{graphicx} \usepackage{fancyhdr} \usepackage{longtable} -\usepackage{float} \usepackage[toc]{multitoc} \usepackage{hyperref}
--- a/makeBookeA4.sh Fri Jun 21 20:00:54 2013 +0100 +++ b/makeBookeA4.sh Fri Jun 21 21:20:18 2013 +0100 @@ -66,10 +66,11 @@ fixtitle "$title" title=$retval - echo -E "\begin{figure}[H]" >> $builddir/$output + echo -E "\vfill \begin{center}" >> $builddir/$output echo -E "\phantomsection" >> $builddir/$output - echo -E "{\centering \hypertarget{$name}{\includegraphics[width=\textwidth,keepaspectratio]{$graphicsdir/$name}}}" >> $builddir/$output + echo -E "\hypertarget{$name}{\includegraphics[width=\textwidth,keepaspectratio]{$graphicsdir/$name}}" >> $builddir/$output echo -E "\addcontentsline{toc}{subsection}{$title}" >> $builddir/$output + echo -E "\end{center}" >> $builddir/$output changefile=`$dir/abcfield.py --field N $filename | grep "Change:" | sed -e "s/Change: *//"` changetitle="" @@ -80,7 +81,6 @@ changename=`basename $changefile .abc` echo -E "Change: \hyperlink{$changename}{$changetitle}" >> $builddir/$output fi - echo -E "\end{figure}" >> $builddir/$output done cat dottes.tex.firstlines >> $builddir/$output
--- a/makeBookeA5.sh Fri Jun 21 20:00:54 2013 +0100 +++ b/makeBookeA5.sh Fri Jun 21 21:20:18 2013 +0100 @@ -68,10 +68,11 @@ fixtitle "$title" title=$retval - echo -E "\begin{figure}[H]" >> $builddir/$output + echo -E "\vfill \begin{center}" >> $builddir/$output echo -E "\phantomsection" >> $builddir/$output - echo -E "{\centering \hypertarget{$name}{\includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{$graphicsdir/$name}}}" >> $builddir/$output + echo -E "\hypertarget{$name}{\includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{$graphicsdir/$name}}" >> $builddir/$output echo -E "\addcontentsline{toc}{subsection}{$title}" >> $builddir/$output + echo -E "\end{center}" >> $builddir/$output changefile=`$dir/abcfield.py --field N $filename | grep "Change:" | sed -e "s/Change: *//"` changetitle="" @@ -82,7 +83,6 @@ changename=`basename $changefile .abc` echo -E "Change: \hyperlink{$changename}{$changetitle}" >> $builddir/$output fi - echo -E "\end{figure}" >> $builddir/$output done cat dottes.tex.firstlines >> $builddir/$output