]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lyrics-bar.ly
small fixes.
[lilypond.git] / input / regression / lyrics-bar.ly
index d168e50ac305291cffae7929ed3863f133c27d70..dac707f6f97aca765abb5532ab848b907bbaa88f 100644 (file)
@@ -1,9 +1,9 @@
-\version "1.9.8"
+\version "2.2.0"
 
 \header{
 texidoc="
-Adding a @code{Bar_engraver} to the LyricsVoice context makes sure that
-lyrics don't collide with barlines.
+Adding a @code{Bar_engraver} to the Lyrics context makes sure that
+lyrics do not collide with barlines.
 "
 }
 
@@ -12,12 +12,12 @@ lyrics don't collide with barlines.
        \notes \context Staff {
                b1 \bar "|:" b1 \bar ":|"
        }
-       \lyrics\context Lyrics <<
-               \context LyricsVoiceWithBars {
+       \lyrics <<
+               \context LyricsWithBars {
 %                      thisContextHasBarEngraver1  added
                        ThisContextCertainlyHasBarEngraverAddedButThereHasBeenSomethingFunnyBefore1.  Here.
                }
-               \context LyricsVoice {
+               \context Lyrics {
                        this4 one has no BarEngraverAddedToContext1
                }
        >>
@@ -25,17 +25,14 @@ lyrics don't collide with barlines.
        >>
        \paper {
                raggedright = ##t
-               \translator {
-                       \LyricsContext
-                       \accepts "LyricsVoiceWithBars"
+               \context {
+                       \ScoreContext
+                       \accepts "LyricsWithBars"
                }
-               \translator {
-                       \LyricsVoiceContext
+               \context {
+                       \LyricsContext
                        \consists "Bar_engraver"
-                       \name "LyricsVoiceWithBars"
-               }
-               \translator {
-                       \LyricsVoiceContext
+                       \name "LyricsWithBars"
                }
        }
 }