From: Han-Wen Nienhuys Date: Wed, 12 Jul 2006 13:06:56 +0000 (+0000) Subject: (Tuplets): new property X-Git-Tag: cvs/HEAD~254 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=aca014a299b1aa3dfe40e59b1e353a008707bebe;p=lilypond.git (Tuplets): new property value. --- diff --git a/ChangeLog b/ChangeLog index 5155c3a26e..f9dba95089 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-07-12 Han-Wen Nienhuys + + * Documentation/user/basic-notation.itely (Tuplets): new property + value. + 2006-07-11 Han-Wen Nienhuys * python/convertrules.py (conv): tweaks. diff --git a/Documentation/topdocs/NEWS.tely b/Documentation/topdocs/NEWS.tely index 5fa543f364..1b6cc57da2 100644 --- a/Documentation/topdocs/NEWS.tely +++ b/Documentation/topdocs/NEWS.tely @@ -71,7 +71,7 @@ Nested tuplets can have different formatting for each nesting level, @lilypond[ragged-right] \new Staff { \time 5/4 - \tweak #'text #tuplet-bracket::calc-fraction-text + \tweak #'text #tuplet-number::calc-fraction-text \times 5/3 { \tweak #'tupletNumberFormatFunction #denominator-tuplet-formatter \times 2/3 { diff --git a/Documentation/user/basic-notation.itely b/Documentation/user/basic-notation.itely index 53b86a9942..92b408f600 100644 --- a/Documentation/user/basic-notation.itely +++ b/Documentation/user/basic-notation.itely @@ -666,7 +666,7 @@ g'4 \times 2/3 {c'4 c' c'} d'4 d'4 Tuplets may be nested, for example, @lilypond[fragment,ragged-right,verbatim,relative=2] -\set tupletNumberFormatFunction = #fraction-tuplet-formatter +\override TupletNumber #'text = #tuplet-number::calc-fraction-text \times 4/6 { a4 a \times 3/5 { a a a a a } @@ -703,11 +703,10 @@ used once For more information about @code{make-moment}, see @ref{Time administration}. -The format of the number is determined by the property -@code{tupletNumberFormatFunction}. The default prints only the -denominator, but if it is set to the Scheme function -@code{fraction-tuplet-formatter}, @var{num}:@var{den} will be printed -instead. +The format of the number is determined by the property @code{text} in +@code{TupletNumber}. The default prints only the denominator, but if +it is set to the function @code{tuplet-number::calc-fraction-text}, +@var{num}:@var{den} will be printed instead. To avoid printing tuplet numbers, use