]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/bar-scripts.ly
release: 1.1.67
[lilypond.git] / input / test / bar-scripts.ly
index ea6200dd5acd45ad973e2067eed5c698d6cb2e84..be26a05b5f75cf68e637c8680224dc1af7deccbb 100644 (file)
@@ -1,27 +1,24 @@
 
+\version "1.1.66";
 
-
-\version "1.0.10";
-
-onestaff = \type Staff = foo\notes  {
+onestaff = \context Staff = foo\notes  {
        \property Staff.instr = instr
        \property Staff.instrument = instrument \mark "B";
         c1 \mark "A"; \break c2  c2 \break
 }
 
-grstaff = \notes \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 {\translator {\OrchestralScoreContext}}
+scpaper = \paper {\translator {\OrchestralScoreContext}}
+stpaper = \paper{ \translator {\BarNumberingStaffContext }}
 
-
-stpaper =\paper{ \BarNumberingStaffContext }
 scscore = \score { \grstaff \paper {
 \scpaper
 }}
@@ -31,5 +28,7 @@ stscore = \score { \onestaff \paper {
  \stpaper
 }}
 
-\score {\stscore}
-%\score {\scscore}
+%\score {\stscore}
+\score {\scscore
+\header { title = "bar scripts"; }
+}