]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/score-bar-scripts.ly
release: 1.1.44
[lilypond.git] / input / test / score-bar-scripts.ly
index a27deda9f887789faf448b0f8ce567b87759427a..a43bb3d02b5f835c53397e929b048cc1dbfca88e 100644 (file)
@@ -1,20 +1,22 @@
 
 
 
-onestaff =     \type Staff = foo\melodic  {
+\version "1.0.20";
+
+onestaff =     \context Staff = foo\notes  {
                \property Staff.instr = instr
                \property Staff.instrument = instrument \mark "B"; c1 \mark "A"; \break c2  c2 \break }
 
-grstaff =      \melodic \type GrandStaff <
-       \type Staff = bar       {
+grstaff =      \notes \context GrandStaff <
+       \context Staff = bar    {
 
        \property Staff.instr = instr
        
         \mark "B"; \break c1 \mark "A"; c2  }
-       \type Staff = bufl        { c1 c2  } >
+       \context Staff = bufl     { c1 c2  } >
 
 scpaper =  \paper {Score = \translator {
-       \type Score_engraver;
+       \context Score_engraver;
        barScriptPadding = "2.0";       % dimension \pt
        markScriptPadding = "4.0";
        barColumnPriority = "-4";
@@ -30,7 +32,7 @@ scpaper =  \paper {Score = \translator {
        \consists "Priority_horizontal_align_engraver";
        \consists "Vertical_align_engraver";
 
-       \accepts "ChoireStaff";
+       \accepts "ChoirStaff";
        \accepts "StaffGroup";
        \accepts "Staff";
        \accepts "RhythmicStaff";       
@@ -40,7 +42,7 @@ scpaper =  \paper {Score = \translator {
 
 stpaper =\paper{
 Staff = \translator {
-       \type "Line_group_engraver_group";
+       \context "Line_group_engraver_group";
        defaultclef = violin;
        barColumnPriority = "0";