]> git.donarmstrong.com Git - lilypond.git/blobdiff - tex/lilyponddefs.tex
* tex/lilyponddefs.tex (\lilypondend): Undo change from 2004-10-20.
[lilypond.git] / tex / lilyponddefs.tex
index da6386c1dc27a6e491c1b2bac743272757ae568e..6a0bffc9e87448ed8bc2ce947ae982a7a9efff76 100644 (file)
 %%
 \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