On Mon, 2014-08-04 at 13:51 +0100, Phil Holmes wrote: > ----- Original Message ----- > From: "Richard Shann" <rich...@rshann.plus.com> > To: "'lilypond-user'" <lilypond-user@gnu.org> > 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 > _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user