Index: python/convertrules.py |
diff --git a/python/convertrules.py b/python/convertrules.py |
index eef7927e62d2fef08820273859884d10069dee3e..b80555a5b6880120ce136cef81788dc92df6d0e7 100644 |
--- a/python/convertrules.py |
+++ b/python/convertrules.py |
@@ -3934,7 +3934,8 @@ matchscmarg = (r'(?:[a-zA-Z_][-a-zA-Z_0-9]*|"(?:[^\\"]|\\.)*"|[-+]?[0-9.]+|\(' |
+ paren_matcher (10) + r"\))") |
@rule ((2, 21, 0), r"""\note #"4." -> \note {4.} |
-\markup-command #" -> \markup-command " """) |
+\markup-command #" -> \markup-command " |
+\partcombine* -> \partCombine, \autochange -> \autoChange""") |
def conv (str): |
def repl1ly (m): |
if m.group (2)[0] in "blm": |
@@ -3970,9 +3971,11 @@ def conv (str): |
r'|discant|freeBass|stdBass|stdBassIV|stdBassV|stdBassVI' |
r')\s*)[#$](\\?")', |
r'\1\2', str) |
+ str = re.sub (r"\\partcombine(Force|Up|Down|Chords|Apart|Unisono|SoloI|SoloII|Automatic|)\b", |
+ r"\\partCombine\1", str) |
+ str = re.sub (r"\\autochange", r"\\autoChange", str) |
return str |
- |
# Guidelines to write rules (please keep this at the end of this file) |
# |
# - keep at most one rule per version; if several conversions should be done, |