Dear Bug Squad,
 Convert-ly failed to convert some of my variable settings, because they are 
not of the form  variable = #2, but rather of the form  variable = 1\cm.  The 
only problems I have seen are from the section that converts to 2.13.10.  The 
attached text contains replacement rules for that section that have been 
working for me.

 In the same section of rules, the old use of minimum-Y-extent is flagged as 
obsolete. However, discussion of issue 1298 revealed that only its use with 
VerticalAxisGroup is obsolete, so I narrowed the rule to flag only those uses.
--
Keith
    str = re.sub (r"page-top-space\s*=\s*(\S+)",
                  r"top-system-spacing #'space = \1",
                  str)
    str = re.sub (r"between-system-space\s*=\s*(\S+)",
                  r"between-system-spacing #'space = 
\1\nbetween-scores-system-spacing #'space = \1",
                  str)
    str = re.sub (r"between-system-padding\s*=\s*(\S+)",
                  r"between-system-spacing #'padding = 
\1\nbetween-scores-system-spacing #'padding = \1",
                  str)
    str = re.sub (r"(after|between|before)-title-space\s*=\s*(\S+)",
                  r"\1-title-spacing #'space = #\2",
                  str)

    if re.search(r'VerticalAxisGroup\s*#\'minimum-Y-extent', str):
        stderr_write("\n")
        stderr_write(NOT_SMART % _("vertical spacing has been changed; 
minimum-Y-extent is obsolete for use in spacing staves.\n"))
        stderr_write(UPDATE_MANUALLY)
_______________________________________________
bug-lilypond mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to