There still seems to be a problem with ly2dvi footers and taglines. The
tagline is currently inserted from the last *odd* numbered page - this
may actually be the last 2 pages if the last page is even.
The patch below fixes it for me, both for single and twoside output
Can anybody see any problems? Mutopia footers?
Mark
--- /home/mark/src/lilypond-1.3/scripts/out/ly2dvi Sat May 5 08:27:13 2001
+++ /usr/local/bin/ly2dvi Wed May 9 14:29:41 2001
@@ -448,7 +448,7 @@
else:
s = s + '\\def\\mustmakelilypondpiecetitle{}\n'
- s = s + '\\input %s' % defn[0]
+ s = s + '\\input %s\n' % defn[0] # The final \n seems important here. It
+ensures that the footers and taglines end up on the right page.
return s
@@ -546,7 +547,15 @@
%% this again. -- jcn
% the \mbox{} helps latex if people do stupid things in tagline
\makeatletter
-\renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\makelilypondtagline}}%
+\if@twoside
+ \ifodd\thepage
+ \renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\makelilypondtagline}}%
+ \else
+ \renewcommand{\@evenfoot}{\parbox{\textwidth}{\mbox{}\makelilypondtagline}}%
+ \fi
+ \else
+ \renewcommand{\@thefoot}{\parbox{\textwidth}{\mbox{}\makelilypondtagline}}%
+\fi
\makeatother
'''
s = s + '\\end{document}'
_______________________________________________
Gnu-music-discuss mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/gnu-music-discuss