Eluze <[email protected]> writes:

> Am 12.03.2012 03:32, schrieb Uwe: 
>
>     Dear lilypond people, 
>
> I have just started to use lilypond to set some drum scores. As I need to add 
> a
> few patches of backing vocals, I'd attempted to add extra (normal) staffs at
> those places, however, lilypond seems to refuse doing that. 
> Example: 
> \score {
>   \new DrumStaff <<
>       \drummode {
>            bd4 sn bd bd4  <<
>               { bd  bd8 sn sn4 bd }
>               \new Staff { c8 d8 e8 f8 g4 c4 }  >>
>       }   >>
> }
>
> This produces an error like
> t.ly:23:27: error: syntax error, unexpected STRING
>               \new Staff { 
>                            c8 d8 e8 f8 g4 c4 } 
> t.ly:18:2: error: errors found, ignoring music expression
>
> I suppose that either the \drummode or the \DrumStaff context do not
> allow this.

They don't care.  It is the parser who is still in \drummode.

> Is there a way to switch these contexts off locally?  Or is there
> anything else I could do to get this done ?

\notemode for the staff should do the trick.

-- 
David Kastrup


_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to