2003-09-30 Han-Wen Nienhuys <hanwen@cs.uu.nl>
+ * scripts/convert-ly.py (conv): add up-to-staff conversion rule.
+
* lily/include/directional-element-interface.hh:
junk class, make {get,set}_grob_direction functions.
* lily/slur.cc (get_attachment): do something sensible when
attaching to stem without heads (eg. a rest).
- * lily/stem.cc: remove #'up-to-staff ; use #'stem-end for forcing
- up to staff. Add #'rests.
- remove #'support-head property
+ * lily/stem.cc: remove #'up-to-staff ; use #'stem-end-position for
+ forcing up to staff. remove #'support-head property
(brew_molecule): small cleanup.
(flag): remove #'grace property.
conversions.append (((1,9,8), conv, """dash-length -> dash-fraction"""))
+
+def conv (str):
+ if re.search ("up-to-staff", str) :
+ sys.stderr.write ("up-to-staff was removed. Use stem-end-position instead. ")
+ raise FatalConversionError ()
+
+ return str
+
+conversions.append (((2,0,1), conv, """dash-length -> dash-fraction"""))
+
################################
# END OF CONVERSIONS
################################