On 3-Jun-06, at 5:51 PM, Joe Neeman wrote:

On Sat, 2006-06-03 at 17:32 -0700, Graham Percival wrote:
Moving the header outside the \score block does work, but I'm not
certain why -- as far as I understand,

In the first example, the \header section belongs to the \book. In the
second example, it belongs to the \score. The difference is more
apparent if you have multiple scores. Since the tagline only occurs once
per book, it can't be in the score-header. Otherwise, what would be the
behaviour of the following?

Aha!  This produces the behavior you want:

\version "2.9.7"
\book{
  \score {
    \new Staff {
      c4 c4
    }
  }
  \header {
    title = "tit"
    tagline = "tag"
  }
}

IMO, if there's only one \score in the piece, then the \header{} should be considered to be part of \book, not \score. But at least I know what's happening now...

Cheers,
- Graham



_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to