]> git.donarmstrong.com Git - lilypond.git/commitdiff
Deprecate negative dash-period for hidden lines.
authorNeil Puttock <n.puttock@gmail.com>
Sat, 21 Aug 2010 16:23:43 +0000 (17:23 +0100)
committerNeil Puttock <n.puttock@gmail.com>
Sat, 21 Aug 2010 16:23:43 +0000 (17:23 +0100)
Documentation/snippets/hiding-the-extender-line-for-text-dynamics.ly
python/convertrules.py

index 46ecc30e2ab6cd0d26af3980a3eaebebc1088296..02a4049efd440b6bf0dd1d7dba7865b49aee897d 100644 (file)
@@ -1,7 +1,7 @@
 %% Do not edit this file; it is automatically
 %% generated from LSR http://lsr.dsi.unimi.it
 %% This file is in the public domain.
-\version "2.13.29"
+\version "2.13.31"
 
 \header {
   lsrtags = "expressive-marks"
@@ -45,7 +45,7 @@ following way:
 } % begin verbatim
 
 \relative c'' {
-  \override DynamicTextSpanner #'dash-period = #-1.0
+  \override DynamicTextSpanner #'style = #'none
   \crescTextCresc
   c1\< | d | b | c\!
 }
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)
 #