Options:
-h, --help print this help
- -e, --edit in place edit
- -f, --from=VERSION start from version. Overrides \version found in file.
+ -e, --edit edit in place
+ -f, --from=VERSION start from version; overrides \version found in file
-s, --show-rules print all rules.
- -t, --to=VERSION target version
+ -t, --to=VERSION show target version
-n, --no-version don't add new version stamp.
--version print program version
conversions.append (((1,7,23), conv,"barNonAuto -> automaticBars"))
+if 1:
+ def conv(str):
+ if re.search( r'-(start|stop)Cluster', str):
+ sys.stderr.write ("""Cluster syntax has been changed.
+Please refer to the manual for details, and convert manually.
+""")
+
+ raise FatalConversionError()
+
+ return str
+
+ conversions.append (((1,7,24), conv,"cluster syntax"))
+
+if 1:
+ def conv(str):
+ str = re.sub (r"\\property *Staff\.(Sustain|Sostenuto|UnaCorda)Pedal *\\(override|set) *#'pedal-type *",
+ r"\property Staff.pedal\1Style ", str)
+ str = re.sub (r"\\property *Staff\.(Sustain|Sostenuto|UnaCorda)Pedal *\\revert *#'pedal-type", '', str)
+ return str
+
+ conversions.append (((1,7,28), conv,"new Pedal style syntax"))
+
+
################################
# END OF CONVERSIONS