]> git.donarmstrong.com Git - lilypond.git/commitdiff
Warn about the new semantics of dash-fraction (unfortunately hard to automate, since...
authorMats Bengtsson <mats.bengtsson@s3.kth.se>
Thu, 15 Nov 2007 13:54:56 +0000 (14:54 +0100)
committerMats Bengtsson <mats.bengtsson@s3.kth.se>
Thu, 15 Nov 2007 13:54:56 +0000 (14:54 +0100)
python/convertrules.py

index 6d58332c12ac446be44c63f2358d2c6b28e58fe6..5234d65eca9d428afd12db3a3ce6dc6c8a4a904e 100644 (file)
@@ -3016,6 +3016,12 @@ conversions.append (((2, 11, 23), conv, """#'break-align-symbol -> #'break-align
 def conv (str):
     str = re.sub (r"scripts\.caesura",
                   r"scripts.caesura.curved", str)
+
+    if re.search ('dash-fraction', str):
+       error_file.write (NOT_SMART % "all settings related to dashed lines.\n")
+       error_file.write ("Use \\override ... #'style = #'line for solid lines and\n")
+       error_file.write ("\t\\override ... #'style = #'dashed-line for dashed lines.")
+
     return str
 
-conversions.append (((2, 11, 35), conv, """scripts.caesura -> scripts.caesura.curved"""))
+conversions.append (((2, 11, 35), conv, """scripts.caesura -> scripts.caesura.curved. Use #'style not #'dash-fraction to select solid/dashed lines."""))