+ conversions.append ((1,0,2), conv, '\\header { key = concat + with + operator }')
+
+if 1:
+ def conv(lines):
+ x = re.sub ('\\\\melodic', '\\\\notes',str)
+
+ return str
+
+ conversions.append ((1,0,3), conv, '\\melodic -> \\notes')
+
+if 1:
+ def conv(lines):
+ x = re.sub ('default_paper *=', '',str)
+ x = re.sub ('default_midi *=', '',x)
+
+ return str
+
+ conversions.append ((1,0,4), conv, 'default_{paper,midi}')
+
+if 1:
+ def conv(lines):
+ x = re.sub ('ChoireStaff', 'ChoirStaff',str)
+ x = re.sub ('\\output', 'output = ',str)
+
+ return str
+
+ conversions.append ((1,0,5), conv, 'ChoireStaff -> ChoirStaff')
+
+if 1:
+ def conv(lines):
+ if re.search ('[a-zA-Z]+ = *\\translator',str):
+ sys.stderr.write ('\nNot smart enough to change \\translator syntax')
+ raise FatalConversionError()
+ return str
+
+ conversions.append ((1,0,6), conv, 'foo = \\translator {\\type .. } ->\\translator {\\type ..; foo; }')
+
+
+if 1:
+ def conv(lines):
+ x = re.sub ('\\\\lyric', '\\\\lyrics',str)
+
+ return str
+
+ conversions.append ((1,0,7), conv, '\\lyric -> \\lyrics')
+
+if 1:
+ def conv(lines):
+ x = re.sub ('\\\\\\[/3+', '\\\\times 2/3 { ',str)
+ x = re.sub ('\\[/3+', '\\\\times 2/3 { [',str)
+ x = re.sub ('\\\\\\[([0-9/]+)', '\\\\times \\1 {',str)
+ x = re.sub ('\\[([0-9/]+)', '\\\\times \\1 { [',str)
+ x = re.sub ('\\\\\\]([0-9/]+)', '}', str)
+ x = re.sub ('\\\\\\]', '}',str)
+ x = re.sub ('\\]([0-9/]+)', '] }', str)
+ return str
+
+ conversions.append ((1,0,10), conv, '[2/3 ]1/1 -> \\times 2/3 ')
+
+if 1:
+ def conv(lines):
+ return lines
+ conversions.append ((1,0,12), conv, 'Chord syntax stuff')
+
+
+if 1:
+ def conv(lines):
+
+
+ x = re.sub ('<([^>~]+)~([^>]*)>','<\\1 \\2> ~', str)
+
+ return str
+
+ conversions.append ((1,0,13), conv, '<a ~ b> c -> <a b> ~ c')
+
+if 1:
+ def conv(lines):
+ x = re.sub ('<\\[','[<', str)
+ x = re.sub ('\\]>','>]', str)
+
+ return str
+
+ conversions.append ((1,0,14), conv, '<[a b> <a b]>c -> [<a b> <a b>]')
+
+
+if 1:
+ def conv(lines):
+ x = re.sub ('\\\\type','\\\\context', str)
+ x = re.sub ('textstyle','textStyle', str)
+
+ return str
+
+ conversions.append ((1,0,16), conv, '\\type -> \\context, textstyle -> textStyle')
+