]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/convert-ly.py
(keepWithTag): add music functions
[lilypond.git] / scripts / convert-ly.py
index ad5bfd3cc1467398206bf602354857fd4598c25c..74a62ff7d2eed14de54ea13f8f50b5c43ac2e1fa 100644 (file)
@@ -2199,7 +2199,8 @@ fold \new FooContext \foomode into \foo.'''))
 
 def conv (str):
        str = re.sub (r'(slur|stem|phrasingSlur|tie|dynamic|dots|tuplet|arpeggio|)Both', r'\1Neutral', str)
-
+       str = re.sub (r"\\applymusic\s*#\(remove-tag\s*'([a-z-0-9]+)\)",
+                     r"\\removeTag #'\1", str)
        return str
 
 conversions.append (((2, 3, 17), conv,