lilypond-devel
[Top][All Lists]
Advanced

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

new \context definition loses old context definitions


From: Graham Percival
Subject: new \context definition loses old context definitions
Date: Tue, 04 Jan 2005 23:24:02 -0800

Is this a bug, or an undocumented "feature"?

Lily 2.4.2, OSX.  I have a global.ly, which contains
\layout{
  \context { \Staff
    \override TimeSignature #'style = #'numbered
    }
}

In my actual piece, I use
\include "../global.ly"
\layout{
  \context{
        \RemoveEmptyStaffContext
}}

(which presumably calls a \Staff context)
The piece loses the 4/4 time signature.


So when you write
\layout{ \context \Foo }}
LilyPond takes the default values for the Foo context, rather than
the current values. If this is deliberate, I'll document it. But if it's
not hugely difficult to fix, I would call this a bug.  :)


Not tested on 2.5.6, since we're still trying to build it. We're getting
closer, though!  :)

Cheers,
- Graham





reply via email to

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