]> git.donarmstrong.com Git - lilypond.git/commitdiff
(conv): add up-to-staff conversion rule.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 29 Sep 2003 22:48:44 +0000 (22:48 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 29 Sep 2003 22:48:44 +0000 (22:48 +0000)
ChangeLog
scripts/convert-ly.py

index 473776ac14970c4442ef968e388671d0316f8560..d5b6865e865e1a7ac40fbb54ab1a68eb79416d25 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,14 +1,15 @@
 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.
 
index 832fc5f1a31e33d6bd40720e468bbda471235819..1f650db71e150a2fb9c291aa899305201b68847b 100644 (file)
@@ -1586,6 +1586,16 @@ def conv (str):
 
 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      
 ################################