[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Accessibility of score/bookpart header variables in headerMarkup
From: |
Ralph Palmer |
Subject: |
Re: Accessibility of score/bookpart header variables in headerMarkup |
Date: |
Fri, 22 May 2015 07:57:48 -0400 |
On Wed, May 20, 2015 at 12:58 PM, Leah Velleman <address@hidden>
wrote:
> The manual
> (http://www.lilypond.org/doc/v2.19/Documentation/notation/
> creating-titles-headers-and-footers#titles-explained) says
> that evenHeaderMarkup and other header/footer variables...
>
> > can only access text fields from top-level \header blocks
> > (which apply to all scores in the book)
>
> In fact, this is not true. they can also access text fields
> from \header blocks at levels as low as bookpart, as the
> following MWE shows:
>
> \version "2.19"
> \paper {
> oddHeaderMarkup = \markup { \fromproperty #'header:title }
> evenHeaderMarkup = \markup { \fromproperty #'header:title }
> scoreTitleMarkup = \markup { }
> bookTitleMarkup = \markup { }
> }
>
> \book {
> \bookpart {
> \header { title = "foo bar baz" }
> \score {
> \new Staff { c d e f g a b c }
> }
> }
> }
Greetings, Leah - This has been submitted as Issue 4412 :
https://code.google.com/p/lilypond/issues/detail?id=4412
Ralph