lilypond-user
[Top][All Lists]
Advanced

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

Re: snippet throws programming errors


From: Jim Long
Subject: Re: snippet throws programming errors
Date: Mon, 12 Jan 2015 20:10:20 -0800
User-agent: Mutt/1.5.23 (2014-03-12)

On Mon, Jan 12, 2015 at 05:25:55PM -0600, Cynthia Karl wrote:
> The following snippet:
> 
> \version "2.19.15"
> 
> music = \relative c'' { e2 g, }
>  
> \score        {
>   \new Staff << \key c \major  \music >>
>   \layout {
>     \context { \Voice \consists "Ambitus_engraver" } 
>   }
> }

Your Staff line is equivalent to:

\new Staff
  <<
    { \key c \major }
    { \music }
  >>

Thus, there is no music in the first expression.  In a nutshell, that
is what is causing your issue.

...
>       * replace "<<...>>" with {...} on the \new Staff statement.
...

That is the correct solution, IMO.


HTH,

Jim




reply via email to

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