From: Han-Wen Nienhuys Date: Mon, 19 Dec 2005 16:34:15 +0000 (+0000) Subject: (conv): rule for number-visibility X-Git-Tag: release/2.7.24~3 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3283078fd56a8fa98298037eb4a2f65936c7f1d0;p=lilypond.git (conv): rule for number-visibility --- diff --git a/ChangeLog b/ChangeLog index 399261ddff..df4c710624 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2005-12-19 Han-Wen Nienhuys + * python/convertrules.py (conv): rule for number-visibility + * lily/slur-configuration.cc (score_extra_encompass): different distance measure for avoid and inside avoidance. (score_extra_encompass): use 1/(distance+eps) as penalty. diff --git a/Documentation/topdocs/NEWS.tely b/Documentation/topdocs/NEWS.tely index b6dcf0d216..f503ba1026 100644 --- a/Documentation/topdocs/NEWS.tely +++ b/Documentation/topdocs/NEWS.tely @@ -45,10 +45,31 @@ This document is also available in @uref{NEWS.pdf,PDF}. @itemize @bullet +@item +Slurs now avoid @code{TupletNumber}s, and tuplet numbers may enter the +staff. + +@lilypond[raggedright] +\relative { + \slurUp + \override TupletBracket #'bracket-visibility = ##f + \override TupletBracket #'staff-padding = ##f + \override Slur #'details #'region-size = #6 + + \times 2/3 + { + c( \stemDown g' \stemNeutral c,) + } +} +@end lilypond + +This feature was sponsored by Trent Johnston. @item Tuplet brackets and numbers are implemented as separate grobs, @code{TupletBracket} and @code{TupletNumber}. +This rewrite was sponsored by Trent Johnston. + @item String arguments for music functions may be specified without @code{#} marks. This allows syntactical constructs (like \clef and \bar) to be expressed in generic music functions. diff --git a/python/convertrules.py b/python/convertrules.py index 6868b4937b..3710cf0422 100644 --- a/python/convertrules.py +++ b/python/convertrules.py @@ -2664,3 +2664,12 @@ def conv (str): conversions.append (((2, 7, 22), conv, """\tag #'(a b) -> \tag #'a \tag #'b""" )) + +def conv (str): + str = re.sub (r"#'number-visibility", + "#'number-visibility % number-visibility is deprecated. Tune the TupletNumber instead\n", + str) + return str + +conversions.append (((2, 7, 24), conv, + """deprecate number-visibility"""))