]> git.donarmstrong.com Git - lilypond.git/commitdiff
(conv): rule for number-visibility
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 19 Dec 2005 16:34:15 +0000 (16:34 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Mon, 19 Dec 2005 16:34:15 +0000 (16:34 +0000)
ChangeLog
Documentation/topdocs/NEWS.tely
python/convertrules.py

index 399261ddff0b2fc12428bb513dc311d430c0b339..df4c710624414700406120e97b67ac67045139ef 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2005-12-19  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * 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.
index b6dcf0d216197e6b6b748dccf2c7f5feccdce074..f503ba102695bc3e985746a0d8ea0378398b73cd 100644 (file)
@@ -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.
index 6868b4937b09479e13bcfcec93dd4f23091afd92..3710cf04220573e40ff6a06b24d181f3f74e8534 100644 (file)
@@ -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"""))