From: Mats Bengtsson Date: Thu, 15 Nov 2007 13:54:56 +0000 (+0100) Subject: Warn about the new semantics of dash-fraction (unfortunately hard to automate, since... X-Git-Tag: release/2.11.35-1~39 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1162fe827d7d180b4faf0f63613c39037f4e7b87;p=lilypond.git Warn about the new semantics of dash-fraction (unfortunately hard to automate, since we don't know if the setting of dash-fraction was only intended to change the dash spacing or also to influence if the line was solid or dashed). --- diff --git a/python/convertrules.py b/python/convertrules.py index 6d58332c12..5234d65eca 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -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."""))