X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Ftest%2Fstaff-container.ly;h=31495ac7c3845f4001b495a8c2a65c174a6fa67b;hb=bfc84a7427e16e0916b4bd2e7418572f868999cc;hp=93b51a439830d548573ee1c6a8dd86cefad3f16b;hpb=ace92555320752430e289c541172c21f6da9dee5;p=lilypond.git diff --git a/input/test/staff-container.ly b/input/test/staff-container.ly index 93b51a4398..31495ac7c3 100644 --- a/input/test/staff-container.ly +++ b/input/test/staff-container.ly @@ -1,4 +1,4 @@ -\version "2.1.26" +\version "2.7.39" \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 { - \translator { - \ScoreContext - \accepts StaffContainer - \denies Staff + \layout { + \context { + \Score + \accepts StaffContainer + \denies Staff } - \translator { - \type Engraver_group_engraver - \consists Clef_engraver - \consists Time_signature_engraver - \consists Separating_line_group_engraver - \consistsend "Axis_group_engraver" - \accepts "Staff" - - \name StaffContainer + \context { + \type Engraver_group + \consists Clef_engraver + \consists Time_signature_engraver + \consists Separating_line_group_engraver + \consists "Axis_group_engraver" + \accepts "Staff" + + \name StaffContainer } - \translator { - \StaffContext - \remove Axis_group_engraver - \remove Separating_line_group_engraver - \remove Clef_engraver - \remove Time_signature_engraver + \context { + \Staff + \remove Axis_group_engraver + \remove Separating_line_group_engraver + \remove Clef_engraver + \remove Time_signature_engraver } - raggedright=##t -} + ragged-right=##t + } }