lilypond-user
[Top][All Lists]
Advanced

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

Re: Many staff contexts do not nest


From: David Kastrup
Subject: Re: Many staff contexts do not nest
Date: Mon, 04 Aug 2014 14:45:54 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Richard Shann <address@hidden> writes:

> The documentation says that staff groups can be nested, but many don't
> appear to work, e.g. this
>
> \version "2.18.0"
> \score {
>         <<
>              \new GrandStaff <<
>                                 \new Staff { s1*4/4 }
>                                  \new ChoirStaff <<
>                                                     \new Staff
> { s1*4/4 }
>                                                     \new Staff
> { s1*4/4 }
>                                                     \new Staff
> { s1*4/4 }
>                                                 >>
>                              >>
>         >>
>     }
>
> has no GrandStaff. 
> Is something missing at
> http://www.lilypond.org/doc/v2.18/Documentation/notation/displaying-staves
> and can anyone explain the rules (I am trying to write a staff braces
> checker ...)

#(for-each
  (lambda (cd)
   (format #t "~a can accept: ~{~a~^, ~}\n" (car cd)
    (or (ly:context-def-lookup (cdr cd) 'accepts))))
  (ly:output-find-context-def #{ \layout { } #}))

-- 
David Kastrup



reply via email to

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