From 1162fe827d7d180b4faf0f63613c39037f4e7b87 Mon Sep 17 00:00:00 2001 From: Mats Bengtsson Date: Thu, 15 Nov 2007 14:54:56 +0100 Subject: [PATCH] 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). --- python/convertrules.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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.""")) -- 2.39.5