+\version "2.7.39"
\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.
-";
+
+Markings can be attached to (invisible) barlines.
+"
}
-\version "1.3.117";
+\layout { ragged-right = ##t }
-onestaff = \context Staff = foo\notes {
- \property Staff.instr = instr
- \property Staff.instrument = instrument \mark "B";
- c1 \mark "A"; \break c2 c2 \break
+onestaff = \new Staff\relative c'' {
+ \set Staff.instr = instr
+ \set Staff.instrument = instrument \mark "B"
+ c1 \mark "A" \break c2 c2 \break
}
-grstaff = \notes \context GrandStaff <
- \context Staff = bar {
+grstaff = \relative c''
+\context GrandStaff <<
+ \new Staff {
- \property Staff.instr = instr
+ \set Staff.instr = instr
- \mark "B"; \break c1 \mark "A"; c2 }
- \context Staff = bufl { c1 c2 }
->
-
-scpaper = \paper {\translator {\OrchestralScoreContext}}
-stpaper = \paper{ \translator {\BarNumberingStaffContext }}
+ \mark "B" \break c1 \mark "A" c2 }
+ \new Staff { c1 c2 }
+>>
-scscore = \score { \grstaff \paper {
-\scpaper
-}}
+\score {\grstaff}
-stscore = \score { \onestaff \paper {
- \stpaper
-}}
-
-%\score {\stscore}
-\score {\scscore
-\header { title = "bar scripts"; }
-}