]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/bar-lines-lyric-only.ly
* scripts/convert-ly.py (conv): remove \notes.
[lilypond.git] / input / test / bar-lines-lyric-only.ly
index 0aed0d6dc5d6420bed53c66ccaf6399b01b32d9e..705793bf556f0a647fddc1fdb85ae218697fc917 100644 (file)
@@ -1,41 +1,40 @@
-#(ly:set-option 'old-relative)
-\version "1.9.0"
+\version "2.3.4"
 \header { texidoc = "@cindex Bar line lyric only
-You can move around @code{Bar_engraver} and
-@code{Span_bar_engraver} if you want bar lines on lyrics. "
+You can move @code{Bar_engraver} and @code{Span_bar_engraver} to 
+a different engraving context, if you want, for example, bar lines 
+on lyrics. "
 }
 
 \score {
-\notes \relative c' \context ChoirStaff = groupie <
- \context Staff = SA { c1 c1 c1}
- \context Lyrics \lyrics <
+ \relative c' \context ChoirStaff <<
+ \new Staff { c1 c1 c1}
+ \context Lyrics \lyrics <<
   { bla1 die bla }
   { foo bar foo }
   { foo bar foo }  
- >
- \context Staff = SB { c1 c1 c1} 
-
- > 
+ >>
+ \new Staff { c1 c1 c1} 
+ >>
 
 
 \paper  {
        raggedright = ##t
-\translator {
-  \LyricsVoiceContext
+\context {
+  \Lyrics
   \consists Bar_engraver
   % need procedure, since lyrics doesn't have a staff_sym engraver.
-  BarLine \override #'bar-size-procedure = #(lambda (x) 3.0)
+  \override BarLine #'bar-size-procedure = #(lambda (x) 3.0)
 }
-\translator {
-  \LyricsContext
+\context {
+  \Lyrics
   \consists "Span_bar_engraver"
 }
-\translator{
-  \ChoirStaffContext
+\context{
+  \ChoirStaff
   \remove "Span_bar_engraver"
 }
-\translator {
-  \StaffContext
+\context {
+  \Staff
   \remove "Bar_engraver"
 }
 }}