]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/convertrules.py
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / python / convertrules.py
index 3bc19ef5f8d8eaa1be93e404c77e04dd89497e90..d535ae8ce96dda13cfe17e895b6e5e460b35ce81 100644 (file)
@@ -2789,3 +2789,9 @@ def conv (str):
     return str
 
 conversions.append (((2, 9, 4), conv, """(page-)penalty -> (page-)break-penalty"""))
+
+def conv (str):
+    str = re.sub (r'\\context\s+\"?([a-zA-Z]+)\"?\s*\\applyOutput', r"\\applyOutput #'\1", str)
+    return str
+
+conversions.append (((2, 9, 6), conv, """\context Foo \applyOutput #bla -> \applyOutput #'Foo #bla """))