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,
> \header{}
> \score{ {music} }
> 
> is just a shortcut for
> \score{
>    {music}
>    \header{}
> }

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?

\score {
  {music}
  \header {tagline = "1"}
}
\score {
  {music}
  \header {tagline = "2"}
}

> 
> If this behavior is still present when Erik's finished his parser work, 
> I'll ask about it again.
> - Graham
> 
> On 3-Jun-06, at 6:53 AM, Geoff Horton wrote:
> 
> > Move the header block outside of the score block.
> >
> > On 6/3/06, Elmo Todurov <[EMAIL PROTECTED]> wrote:
> >> In my opinion, I'm doing everything correctly. However, the
> >> tagline is the default.
> >> The code is here. I'm sure it's correct.
> >> \paper { printallheaders = ##t }
> >> \layout {}
> >> \version "2.9.7"
> >> \score {
> >>   \new Staff {
> >>     c4 c4
> >>   }
> >>   \header {
> >>     title = "tit"
> >>     tagline = "tag"
> >>   }
> >> }
> >> The title shows correctly, but the tagline is the default
> >> "Music engraving ..." I hacked the default title in the
> >> distribution and got my scores right, but that's not a solution.
> >> What's wrong?
> >>
> >>
> >>
> >> _______________________________________________
> >> bug-lilypond mailing list
> >> bug-lilypond@gnu.org
> >> http://lists.gnu.org/mailman/listinfo/bug-lilypond
> >>
> >
> >
> > _______________________________________________
> > bug-lilypond mailing list
> > bug-lilypond@gnu.org
> > http://lists.gnu.org/mailman/listinfo/bug-lilypond
> >
> 
> 
> 
> _______________________________________________
> bug-lilypond mailing list
> bug-lilypond@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-lilypond


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

Reply via email to