lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: still lyrics


From: Werner LEMBERG
Subject: Re: still lyrics
Date: Sat, 03 Aug 2002 19:21:00 +0200 (CEST)

Sorry for the late reply.

> address@hidden said:
> > IMHO yes.  A probably better solution is to introduce a
> > `interscorelinefilllastpage' variable (what a wonderful name :-) which
> > takes care of that.
>
> I'm not sure how this can be done easily in TeX.

Very easy, see below.

> Isn't it that the page breaking is determined at such a late stage
> that it's hard to intercept and treat the last page separately?

No.

> Also, what if this is the last page of the moment (or musical
> snippet in a document) but not the last page of the document? I
> can't see any good universal strategy.

People who use `filllastpage' (this is a better name IMHO) should be
aware of what they are doing.  BTW, lilypond-book.ly overrides
\EndLilyPondOutput anyway, so this isn't an issue here.

> Actually, one problem here is that a lilypond generated .tex should
> be possible to process using bare tex or texinfo, otherwise we could
> use some more LaTeX constructs to simplify the macros used in the
> files.

The change in lilyponddefs.tex is very simple:


--- lilyponddefs.tex.orig       Thu Jul 25 03:09:20 2002
+++ lilyponddefs.tex    Sat Aug  3 19:11:10 2002
@@ -74,7 +74,10 @@
 \fi
 
 \def\EndLilyPondOutput{%
- \vskip 0pt plus \lilypondpaperinterscorelinefill00 fill\csname bye\endcsname
+\ifundefined{lilypondpaperfilllastpage}%
+  \vskip 0pt plus \lilypondpaperinterscorelinefill00 fill
+\fi
+\csname bye\endcsname
 }
 \def\postheader{}
 


    Werner


PS: `\postheader' is unused in lilypond; it should be thus removed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]