From 463b13ae291e1dce6e2760de29455df2ca688ff8 Mon Sep 17 00:00:00 2001 From: Mark Polesky Date: Sat, 16 Oct 2010 17:53:10 -0700 Subject: [PATCH] vertical spacing: Update convert-ly. --- python/convertrules.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/python/convertrules.py b/python/convertrules.py index 992d371617..cfe5c63066 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -3058,8 +3058,20 @@ def conv(str): return str @rule ((2, 13, 36), - _ ("Add fretboard-table argument to savePredefinedFretboard.")) + _ ("Rename vertical spacing variables.\n\ +Add fretboard-table argument to savePredefinedFretboard.")) def conv(str): + str = re.sub ('after-title-spacing', 'markup-system-spacing', str) + str = re.sub ('before-title-spacing', 'score-markup-spacing', str) + str = re.sub ('between-scores-system-spacing', 'score-system-spacing', str) + + # also converts page-breaking-between-system-spacing: + str = re.sub ('between-system-spacing', 'system-system-spacing', str) + + str = re.sub ('between-title-spacing', 'markup-markup-spacing', str) + str = re.sub ('bottom-system-spacing', 'last-bottom-spacing', str) + str = re.sub ('top-title-spacing', 'top-markup-spacing', str) + str = re.sub (r"storePredefinedDiagram", r"storePredefinedDiagram #default-fret-table", str); -- 2.39.2