]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/bar-scripts.ly
release: 1.1.44
[lilypond.git] / input / test / bar-scripts.ly
index e12aab30f241b28eacc6465554a2c767b293e719..8990f4686834a3a5198897054369a971f894a22a 100644 (file)
@@ -1,27 +1,24 @@
 
+\version "1.0.20";
 
-
-\version "1.0.7";
-
-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"; }
+}