]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/bar-scripts.ly
patch::: 1.3.113.jcn2
[lilypond.git] / input / test / bar-scripts.ly
index 895c1b5b261f613d43773e2f565d852587e04215..a4898e094c0ed992ad750b65913f502cb2c4bb73 100644 (file)
@@ -1,27 +1,31 @@
+\header{
+texidoc="
+Markings that are attached to (invisible) barlines are 
+delicate: the are attached to the rest of the score without the score
+knowing it.  Consequently, they fall over  often.
+";
+}
 
+\version "1.3.110";
 
-
-\version "1.0.6";
-
-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 +35,7 @@ stscore = \score { \onestaff \paper {
  \stpaper
 }}
 
-\score {\stscore}
-%\score {\scscore}
+%\score {\stscore}
+\score {\scscore
+\header { title = "bar scripts"; }
+}