]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/tag-filter.ly
* scripts/convert-ly.py (conv): fixed \context Foo = mixedCaps
[lilypond.git] / input / regression / tag-filter.ly
index 5c063ef6200f5d1c7cdd2cb0d0a16bcb061c2216..723241e7718a546df2d07420bdd986b8abf8c265 100644 (file)
@@ -1,5 +1,5 @@
 
-\version "2.1.26"
+\version "2.4.0"
 \header {
 
 texidoc = "The @code{\\tag} command marks music expressions with a
@@ -11,10 +11,10 @@ notes and fingerings, but the score has not."
 
 }
 
-\paper { raggedright= ##t }
+\layout { raggedright= ##t }
 
 common =
-\notes \relative c''  {
+ \relative c''  {
 
     c1
     \relative c' <<
@@ -31,18 +31,18 @@ common =
 
 
 \score {
-    \notes \simultaneous { 
+    \simultaneous { 
     \new Staff {
        \set Staff.instrument = #"both"
        \common
        }
     \new Staff {
        \set Staff.instrument = #"part"
-       \apply #(remove-tag 'score) \common
+       \keepWithTag #'part \common
        }
     \new Staff {
        \set Staff.instrument = #"score"
-       \apply #(remove-tag 'part) \common
+       \keepWithTag #'score \common
        }
     }
 }