lilypond-user
[Top][All Lists]
Advanced

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

nested staffgroups broken in 2.11.64


From: Simon Bailey
Subject: nested staffgroups broken in 2.11.64
Date: Thu, 27 Nov 2008 16:37:16 +0100

hi,

according to the documentation at : 
http://kainhofer.com/~lilypond/Documentation/user/lilypond/Displaying-staves.html#Nested-staff-groups

the following code should produce the image shown in the documentation.

\score {
  \relative c'' {
    \new StaffGroup <<
      \new Staff { c2 c | c2 c }
      \new StaffGroup <<
        \new Staff { g2 g | g2 g }
        \new StaffGroup \with {
          systemStartDelimiter = #'SystemStartSquare
        }
        <<
          \new Staff { e2 e | e2 e }
          \new Staff { c2 c | c2 c }
        >>
      >>
    >>
  }
}

on my box (mac os x, leopard using 2.11.64 darwin-ppc) i get the attached image "weird-nested-staffgroup.png". what gives?

i ran into this while trying to fix a problem with the following code:

%%%
\score {
        \new StaffGroup <<
                \new StaffGroup <<
                  \new Staff {
        \set Staff.instrumentName = "Violin I Solo"
        \set Staff.shortInstrumentName="Vl. Solo"
        \violIsolop
      }
                        \new StaffGroup  <<
                                \new Staff = "vIupper" <<
          \set Staff.instrumentName = "Violin I.I"
          \set Staff.shortInstrumentName = "VI.I"
          \globalScore
          \vIupper
        >>
                                \new Staff {
          \set Staff.instrumentName = "Violin I.II"
          \set Staff.shortInstrumentName = "VI.II"
          \violIp
        }
        >>
    >>
    \new Staff {
      \set Staff.instrumentName = "Contrabasso"
      \set Staff.shortInstrumentName = "Cb."
      \cbp
    }
        >>
        \layout {}
}
%%%

this snippet gives me a wrong ordering of the staves. see attached image "wrong-staff-order.png" – here you can see that the contrabasso staff is printed first, even though common sense would dictate it come last. furthermore, the staffgroups aren't nesting properly – Violin I.I & I.II should have 3 levels of staffbraces...

help? full source code of my example is in weirdness.ly.

regards,
sb
--
Simon Bailey
Oompa Loompa of Science
+43 699 190 631 25

PNG image

PNG image

Attachment: weirdness.ly
Description: Binary data


reply via email to

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