1.3.30.mb1
=========
* Fixed the page layout, reintroducing space for the header and
trying to keep piece titles on the same page as the piece.
The header and footer can now contain several lines.
+1.3.30.mb1
+=========
+
+* Fixed the page layout, reintroducing space for the header and
+ trying to keep piece titles on the same page as the piece.
+ The header and footer can now contain several lines.
MAJOR_VERSION=1
MINOR_VERSION=3
PATCH_LEVEL=30
MAJOR_VERSION=1
MINOR_VERSION=3
PATCH_LEVEL=30
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
# use the above to send patches: MY_PATCH_LEVEL is always empty for a
# released version.
%%\addtolength{\topmargin}{-1cm}
%%\setlength{\textwidth}{%s}
%%\setlength{\textheight}{%s}
%%\addtolength{\topmargin}{-1cm}
%%\setlength{\textwidth}{%s}
%%\setlength{\textheight}{%s}
-\geometry{width=%spt, left=%spt, height=%spt, top=%spt, nohead}
+\geometry{width=%spt, left=%spt, height=%spt, top=%spt}
\input lilyponddefs
\input titledefs
%s
\makeatletter
\input lilyponddefs
\input titledefs
%s
\makeatletter
-\renewcommand{\@oddhead}{\hfil{\small\theheader\quad\textbf{\thepage}}}%%
+\renewcommand{\@oddhead}{\parbox{\textwidth}%%
+ {\mbox{}\small\theheader\hfill\textbf{\thepage}}}%%
%% UGR.
%%\renewcommand{\@evenhead}{eve!{\small\mudelainstrument{,}\quad\textbf{\thepage}}\hfil}%%
%% UGR.
%%\renewcommand{\@evenhead}{eve!{\small\mudelainstrument{,}\quad\textbf{\thepage}}\hfil}%%
-\renewcommand{\@oddfoot}{{\thefooter}\hfil}%%
+\renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\thefooter}}%%
\begin{document}
""" % ( program_id(), Props.get('filename'), now, Props.get('papersize'),
Props.get('language'), Props.get('pagenumber'), linewidth, textheight,
\begin{document}
""" % ( program_id(), Props.get('filename'), now, Props.get('papersize'),
Props.get('language'), Props.get('pagenumber'), linewidth, textheight,
this.write(r"""
%% \vfill\hfill{\mudelatagline}
\makeatletter
this.write(r"""
%% \vfill\hfill{\mudelatagline}
\makeatletter
-\renewcommand{\@oddfoot}{\hfil\mudelatagline}%
+\renewcommand{\@oddfoot}{\parbox{\textwidth}{\mbox{}\mudelatagline}}%%
\makeatother
\end{document}
""")
\makeatother
\end{document}
""")
+% Attempt to keep lilypiecetitle together with the piece:
+\def\myfilbreak{\par\vfil\penalty200\vfilneg}
+
% stacked horizontal lines
% stacked horizontal lines
-\def\interscoreline{\vskip 16pt}
+\def\interscoreline{\vskip 16pt\myfilbreak}
\def\placebox#1#2#3{%
\botalign{\hbox{\raise #1\leftalign{\kern #2{}#3}}}}%
\def\placebox#1#2#3{%
\botalign{\hbox{\raise #1\leftalign{\kern #2{}#3}}}}%
}
\def\makelilypiecetitle
{
}
\def\makelilypiecetitle
{
{\flushright{\theopus}\par}
{\flushleft{\large\normalfont\scshape\thepiece}\par}
{\flushright{\theopus}\par}
{\flushleft{\large\normalfont\scshape\thepiece}\par}
\global\let\theopus\relax%
\global\let\thepiece\relax%
}
\global\let\theopus\relax%
\global\let\thepiece\relax%
}