# HG changeset patch # User Jim Hague # Date 1375706383 -3600 # Node ID 8596b328356d5745e39e0965131d64a1efe70aa6 # Parent 55afb58d4a9a1e838be08d84f4d9db53a2e09394 Make target of hyperlink the tune title. A slight rearrangement of the tune macro. diff -r 55afb58d4a9a -r 8596b328356d dottes.tex --- a/dottes.tex Mon Aug 05 13:30:08 2013 +0100 +++ b/dottes.tex Mon Aug 05 13:39:43 2013 +0100 @@ -52,16 +52,14 @@ \vfill \begin{center} \phantomsection + \addcontentsline{toc}{section}{#2} \begin{tabular*}{\textwidth}{@{} p{0.25\textwidth} @{\extracolsep{\fill}} c >{\raggedleft\arraybackslash}p{0.25\textwidth} @{}} - & \Large{#2} & \emph{#4} \\ + & \hypertarget{#1}{\Large{#2}} & \emph{#4} \\ \ifemptyarg{#3}{}{% & #3 & \\ }% \end{tabular*} - \hypertarget{#1}{% - \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5} - } - \addcontentsline{toc}{section}{#2} + \includegraphics[width=\textwidth,height=0.85\textheight,keepaspectratio]{#5} \end{center} \ifemptyarg{#8}{}{% From {#8}.