[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Many staff contexts do not nest
From: |
Richard Shann |
Subject: |
Re: Many staff contexts do not nest |
Date: |
Mon, 04 Aug 2014 14:16:40 +0100 |
On Mon, 2014-08-04 at 13:51 +0100, Phil Holmes wrote:
> ----- Original Message -----
> From: "Richard Shann" <address@hidden>
> To: "'lilypond-user'" <address@hidden>
> Sent: Monday, August 04, 2014 12:03 PM
> Subject: Many staff contexts do not nest
>
>
> > 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 ...)
> >
> > Richard Shann
>
> Does
>
> http://lsr.di.unimi.it/LSR/Item?id=397
>
> help at all? (It is quoted in the NR, too).
It looks like it would help someone wanting to create nested staff
braces, but what I was hoping was that there was some simple rationale
behind the behavior of \new GrandStaff, \new ChoirStaff, \new StaffGroup
when nested, as then I could write something that would check the
LilyPond syntax for useless or invalid constructs ...
Richard
>
> --
> Phil Holmes
>