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.
This commit is contained in:
parent
204de8894f
commit
0bc05df112
|
@ -3,7 +3,6 @@
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{fancyhdr}
|
\usepackage{fancyhdr}
|
||||||
\usepackage{longtable}
|
\usepackage{longtable}
|
||||||
\usepackage{float}
|
|
||||||
\usepackage[toc]{multitoc}
|
\usepackage[toc]{multitoc}
|
||||||
|
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
|
|
|
@ -3,7 +3,6 @@
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{fancyhdr}
|
\usepackage{fancyhdr}
|
||||||
\usepackage{longtable}
|
\usepackage{longtable}
|
||||||
\usepackage{float}
|
|
||||||
\usepackage[toc]{multitoc}
|
\usepackage[toc]{multitoc}
|
||||||
|
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
|
|
|
@ -66,10 +66,11 @@ find $booke -name "*.abc" | sort |
|
||||||
fixtitle "$title"
|
fixtitle "$title"
|
||||||
title=$retval
|
title=$retval
|
||||||
|
|
||||||
echo -E "\begin{figure}[H]" >> $builddir/$output
|
echo -E "\vfill \begin{center}" >> $builddir/$output
|
||||||
echo -E "\phantomsection" >> $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 "\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: *//"`
|
changefile=`$dir/abcfield.py --field N $filename | grep "Change:" | sed -e "s/Change: *//"`
|
||||||
changetitle=""
|
changetitle=""
|
||||||
|
@ -80,7 +81,6 @@ find $booke -name "*.abc" | sort |
|
||||||
changename=`basename $changefile .abc`
|
changename=`basename $changefile .abc`
|
||||||
echo -E "Change: \hyperlink{$changename}{$changetitle}" >> $builddir/$output
|
echo -E "Change: \hyperlink{$changename}{$changetitle}" >> $builddir/$output
|
||||||
fi
|
fi
|
||||||
echo -E "\end{figure}" >> $builddir/$output
|
|
||||||
done
|
done
|
||||||
|
|
||||||
cat dottes.tex.firstlines >> $builddir/$output
|
cat dottes.tex.firstlines >> $builddir/$output
|
||||||
|
|
|
@ -68,10 +68,11 @@ find $booke -name "*.abc" | sort |
|
||||||
fixtitle "$title"
|
fixtitle "$title"
|
||||||
title=$retval
|
title=$retval
|
||||||
|
|
||||||
echo -E "\begin{figure}[H]" >> $builddir/$output
|
echo -E "\vfill \begin{center}" >> $builddir/$output
|
||||||
echo -E "\phantomsection" >> $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 "\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: *//"`
|
changefile=`$dir/abcfield.py --field N $filename | grep "Change:" | sed -e "s/Change: *//"`
|
||||||
changetitle=""
|
changetitle=""
|
||||||
|
@ -82,7 +83,6 @@ find $booke -name "*.abc" | sort |
|
||||||
changename=`basename $changefile .abc`
|
changename=`basename $changefile .abc`
|
||||||
echo -E "Change: \hyperlink{$changename}{$changetitle}" >> $builddir/$output
|
echo -E "Change: \hyperlink{$changename}{$changetitle}" >> $builddir/$output
|
||||||
fi
|
fi
|
||||||
echo -E "\end{figure}" >> $builddir/$output
|
|
||||||
done
|
done
|
||||||
|
|
||||||
cat dottes.tex.firstlines >> $builddir/$output
|
cat dottes.tex.firstlines >> $builddir/$output
|
||||||
|
|
Loading…
Reference in New Issue