%%
\gdef\lilypondend{
%% Handle the `lastpagefill' parameter from the \layout block.
- \lilypondifundefined{lilypondpaperlastpagefill}
- {\vskip 0pt plus\lilypondpaperinterscorelinefill00 fill}
+ %% Ignore it if \lilypondbook is defined.
+ \lilypondifundefined{lilypondbook}
+ {\lilypondifundefined{lilypondpaperlastpagefill}
+ {\vskip 0pt plus\lilypondpaperinterscorelinefill00 fill}
+ {}}
{}
\begingroup
\special{header=music-drawing-routines.ps}
\gdef\lilypondspecial{}}
+
+
+
%% Put the argument into a box which has zero height and depth (the
%% \vss forces the latter -- TeXbook, page 80).
%%