[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ly2dvi footers and taglines
From: |
Mark Hindley |
Subject: |
ly2dvi footers and taglines |
Date: |
Wed, 9 May 2001 14:40:18 +0100 (BST) |
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
address@hidden
address@hidden
+ \ifodd\thepage
+ address@hidden
+ \else
+ address@hidden
+ \fi
+ \else
+ address@hidden
+\fi
\makeatother
'''
s = s + '\\end{document}'
- ly2dvi footers and taglines,
Mark Hindley <=