lilypond-user
[Top][All Lists]
Advanced

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

Re: "header", "layout" and "paper" blocks as variables...


From: Valentin Villenave
Subject: Re: "header", "layout" and "paper" blocks as variables...
Date: Mon, 26 May 2008 13:57:54 +0200

2008/5/23 Mats Bengtsson <address@hidden>:

>>> As far as I can see in the source code, there is no support to assign a
>>> \header block to a variable.
>>> However, for \paper and \layout it should work fine.

>> If I remember correctly, it only works for simple definition (e.g. not
>> \context \consists stuff etc).

> I don't think you remember correctly:

Yes I *did* remember correctly after all!

Here's what's been driving me nuts:

% the second variable is ignored and produces an error message

varOne = \layout {
 \context{ \Voice \remove "Stem_engraver" }
}

varTwo = \layout {
indent = #0
}

\layout{
 \varOne
 \varTwo
}

\relative c'{ c  d e f }

% Can we call it a bug?

Cheers,
Valentin




reply via email to

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