lilypond-devel
[Top][All Lists]
Advanced

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

Re: default behavior for multiple \header{}s


From: Paul Scott
Subject: Re: default behavior for multiple \header{}s
Date: Mon, 13 Mar 2006 23:34:03 -0700
User-agent: Debian Thunderbird 1.0.7 (X11/20051017)

Graham Percival wrote:

From the manual, 10.3.1,
http://www.lilypond.org/doc/v2.7/Documentation/user/lilypond/Creating- titles.html
-----
As demonstrated before, you can use multiple \header blocks. When same fields appear in different blocks, the latter is used. Here is a short example.

\header {
  composer = "Composer"
}
\header {
  title = "Title"
}
\score {
  \new Staff { c'4 }
  \header {
    title = "New title"  % overwrite previous one
  }
}
-----

However, this example does _not_ overwrite the previous definition of title with "New title". (at least, not in 2.7.38) Is this intentional or a bug?

But as the manual says in the very next section:
"normally only the |piece| and |opus| headers will be printed" which probably should read overwritten.

Paul Scott





reply via email to

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