On Tue, May 26, 2015 at 5:23 AM, Gianmaria Lari <gianmarial...@gmail.com>
wrote:

> I'm trying to define a variable containing the header but lilypond does not
> accept it. Am'I doing some error or is this forbidden?
>
> % my source
> \version "2.18.2"
> head = \header {
>   title = "The Third Position"
> }
>
> \score {
>   {a b c d}
>   \head
>   \layout {}
> }
>
>
> Thank you, g
>

Unfortunately it's not possible :( The grammar simply doesn't allow
assignment of \header objects to variables.

As proposed here
https://lists.gnu.org/archive/html/lilypond-user/2013-04/msg00184.html one
workaround is to place the header in a separate file and use \include.

Regards,
Nathan
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to