]> git.donarmstrong.com Git - lilypond.git/blobdiff - python/convertrules.py
Doc: NR 2.1 Vocal: add refs to Vocal music snippets
[lilypond.git] / python / convertrules.py
index df2540967a955107d4540542268dc363b2e553ed..cfe5c6306610efcdffd7e32141469c23817877f9 100644 (file)
@@ -2901,7 +2901,7 @@ longer in reversed order.\n"))
 ly:hairpin::after-line-breaking -> ly:spanner::kill-zero-spanned-time\n\
 Dash parameters for slurs and ties are now in dash-definition"))
 def conv(str):
-    if re.search(r'\\bar\s*"."', str):
+    if re.search(r'\\bar\s*"\."', str):
         stderr_write ("\n")
         stderr_write (NOT_SMART % _("\\bar \".\" now produces a thick barline.\n"))
         stderr_write (UPDATE_MANUALLY)
@@ -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);