]> git.donarmstrong.com Git - lilypond.git/blobdiff - tex/lilyponddefs.tex
add \global to definitions for
[lilypond.git] / tex / lilyponddefs.tex
index da6386c1dc27a6e491c1b2bac743272757ae568e..0c5a87ea158bfb1751ea8fda1e7c283bee398500 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
   \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).
 %%