]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/convertrules.py
Align metronome mark at time signature or first musical element.
[lilypond.git] / python / convertrules.py
index 1e2ce6752da442265c520562cd1d19a1cb7d5a66..063da1f4f9ca6d35f184b975cf2cff62d6ab5d0d 100644 (file)
@@ -3045,12 +3045,16 @@ def conv(str):
     return str
 
 @rule ((2, 13, 31),
-    _ ("Woodwind diagrams: Move size, thickness, and graphic from argument list to properties."))
+    _ ("Woodwind diagrams: Move size, thickness, and graphic from argument list to properties.\n\
+Deprecate negative dash-period for hidden lines: use #'style = #'none instead."))
 def conv(str):
     if re.search(r'woodwind-diagram', str):
         stderr_write("\n")
         stderr_write(NOT_SMART % _("woodwind-diagrams.  Move size, thickness, and graphic to properties.  Argument should be just the key list.\n"))
         stderr_write(UPDATE_MANUALLY)
+    str = re.sub (r"dash-period\s+=\s*#\s*-[0-9.]+",
+                  r"style = #'none",
+                  str);
     return str
 # Guidelines to write rules (please keep this at the end of this file)
 #