X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fstaff-container.ly;h=0128bfb1f3aba4033c1b702c85276cfef1d7c616;hb=5e0c1ca14e672b864f9c00d1f856177c871e6488;hp=30775bf0f7e66bf4f43099641e05cf229b436fce;hpb=7e8d660df15820c540b74a4ab74d175284cd9008;p=lilypond.git diff --git a/input/test/staff-container.ly b/input/test/staff-container.ly index 30775bf0f7..0128bfb1f3 100644 --- a/input/test/staff-container.ly +++ b/input/test/staff-container.ly @@ -1,4 +1,4 @@ -\version "2.1.30" +\version "2.3.8" \header { @@ -7,7 +7,7 @@ In this preliminary test of a modern score, the staff lines are washed out temporarily. This is done by making a tuned @code{StaffContainer}, which @code{\skip}s some notes without printing lines either and -creates a @code{\new Staff} then in order to create the lines again. +creates a @code{\\new Staff} then in order to create the lines again. (Be careful if you use this; it has been done by splitting the grouping @code{Axis_group_engraver} and creating functionality into separate contexts, but the clefs and time signatures may not do @@ -20,7 +20,7 @@ what you would expect.) \score { - \notes \relative c'' << + \relative c'' << \new StaffContainer { %% need << >>, otherwise we descend to the voice inside SA @@ -34,33 +34,33 @@ what you would expect.) << \context Staff { e d f \bar ":|" } >> \skip 4 } - >> + >> -\paper { + \paper { \context { - \ScoreContext - \accepts StaffContainer - \denies Staff + \Score + \accepts StaffContainer + \denies Staff } \context { - \type Engraver_group_engraver - \consists Clef_engraver - \consists Time_signature_engraver - \consists Separating_line_group_engraver - \consistsend "Axis_group_engraver" - \accepts "Staff" - - \name StaffContainer + \type Engraver_group_engraver + \consists Clef_engraver + \consists Time_signature_engraver + \consists Separating_line_group_engraver + \consists "Axis_group_engraver" + \accepts "Staff" + + \name StaffContainer } \context { - \StaffContext - \remove Axis_group_engraver - \remove Separating_line_group_engraver - \remove Clef_engraver - \remove Time_signature_engraver + \Staff + \remove Axis_group_engraver + \remove Separating_line_group_engraver + \remove Clef_engraver + \remove Time_signature_engraver } raggedright=##t -} + } }