---- ../lilypond-1.3.139.jcn4/CHANGES Sun Mar 18 23:27:12 2001
+--- ../lilypond-1.3.139.jcn5/CHANGES Sun Mar 18 23:47:14 2001
+++ b/CHANGES Mon Mar 19 10:21:46 2001
+@@ -1,3 +1,8 @@
+1.3.139.jcn6
+============
+
+* Bugfix: ly2dvi sets footers, headers, tagline. Pagenumbering on by default.
+
+ 1.3.139.jcn5
+ ============
+ --- ../lilypond-1.3.139.jcn4/CHANGES Sun Mar 18 23:27:12 2001
++ b/CHANGES Sun Mar 18 23:47:14 2001
@@ -1,3 +1,8 @@
1.3.139.jcn5
MAJOR_VERSION=1
MINOR_VERSION=3
PATCH_LEVEL=139
-MY_PATCH_LEVEL=jcn5
+MY_PATCH_LEVEL=jcn6
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
+% A simple scale in LilyPond
+%
+% Type:
+%
+% ly2dvi example-1
+% xdvi example-1 # or your dvi viewer here
+%
\score {
\context Voice \notes\relative c {
c' d e f g a b c
-
- % A simple scale in Mudela.
- %
- % Type:
- %
- % ly2dvi example-1
- % xdvi example-1 # or your dvi viewer here
- %
- % For more elaborate examples see twinkle.ly, input/* and mutopia/*.
- %
- % A docmument on Mudela is under construction: Documentation/tex/mudela.doc
- % (available as .ps from the website too).
-
}
\paper { }
\midi { }
+% Some beamed and slurred notes of different taste in LilyPond
+%
+% Type:
+%
+% ly2dvi example-2
+% xdvi example-2 # or your dvi viewer here
+%
\score {
\context Voice \notes\relative c {
a''2 ~ c4( [e8 )e] [a,16 a a a]
-
- % Some beamed and slurred notes of different taste in Mudela.
- %
- % Type:
- %
- % ly2dvi example-2
- % xdvi example-2 # or your dvi viewer here
- %
- % For more elaborate examples see twinkle.ly, input/* and mutopia/*.
- %
- % A docmument on Mudela is under construction: Documentation/tex/mudela.doc
- % (available as .ps from the website too).
-
}
\paper { }
\midi { }
\midi{}
}
-% A full-mudela example with two staffs
+% A full example with two staffs
%
% Type:
%
% ly2dvi example-3
% xdvi example-3 # or your dvi viewer here
-%
-% For more elaborate examples see twinkle.ly, input/* and mutopia/*.
-%
-% A docmument on Mudela is under construction: Documentation/tex/mudela.doc
-% (available as .ps from the website too).
'''
TODO:
- * --dependencies
+ * check --dependencies
+
+ * move versatile taglines,
+
+ \header {
+ beginfooter=\mutopiaPD
+ endfooter=\tagline -> 'lily was here <version>'
+ }
+
+ * head/header tagline/endfooter
* dvi from lilypond .tex output? This is hairy, because we create dvi
from lilypond .tex *and* header output.
'latexheaders' : [],
'latexpackages' : ['geometry'],
'papersize' : [],
- 'pagenumber' : [],
+ 'pagenumber' : [1],
'textheight' : [],
'linewidth' : [],
'orientation' : []
linewidth = 597
s = s + '\geometry{width=%spt%s,headheight=2mm,headsep=0pt,footskip=2mm,%s}\n' % (linewidth, textheight, orientation)
- s= s + r'''
-\usepackage[latin1]{inputenc}
+ s = s + r'''
+\usepackage[latin1]{inputenc}
\input{titledefs}
\makeatletter
-\renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\thefooter}}%%
+\renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\makelilypondfooter}}%
'''
- if extra['pagenumber'] and extra['pagenumber'][-1]:
+
+ if extra['pagenumber'] and extra['pagenumber'][-1] and extra['pagenumber'][-1] != 'no':
s = s + r'''
- \renewcommand{\@oddhead}{\parbox{\textwidth}%%
- {\mbox{}\small\theheader\hfill\textbf{\thepage}}}%%'''
+\renewcommand{\@oddhead}{\parbox{\textwidth}%
+ {\mbox{}\small\makelilypondheader\hfill\textbf{\thepage}}}
+'''
else:
- s = s + '\\pagestyle{empty}'
-
- s = s + '\\begin{document}'
+ s = s + '\\pagestyle{empty}\n'
+
+ s = s + '\\makeatother\n'
+ s = s + '\\begin{document}\n'
+
first = 1
for t in tfiles:
s = s + one_latex_definition (t, first)
first = 0
-
+
+ s = s + r'''
+\makeatletter
+\renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\lilypondtagline}}%
+\makeatother
+'''
s = s + '\\end{document}'
return s
\global\let\lilypondpiece\relax%
\global\let\mustmakelilypondpiecetitle\undefined%
}
+% header -- head ?
+\def\makelilypondheader
+{
+ \ifx\lilypondhead\undefined\else%
+ \parbox{\textwidth}{\mbox{}\lilypondhead}\fi
+}
+\def\makelilypondfooter
+{
+ \ifx\lilypondfooter\undefined\else%
+ \parbox{\textwidth}{\mbox{}\lilypondfooter}\fi
+}
\endinput