From: Han-Wen Nienhuys Date: Wed, 24 May 2006 12:04:37 +0000 (+0000) Subject: * Documentation/user/advanced-notation.itely (Balloon help): idem. X-Git-Tag: release/2.9.6~6 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=3733cad6c0b0654779b8c74c99a0bd7255ce4b82;p=lilypond.git * Documentation/user/advanced-notation.itely (Balloon help): idem. * Documentation/user/changing-defaults.itely (Creating contexts): idem. * Documentation/user/programming-interface.itely (Running a function on all layout objects): idem. * Documentation/user/introduction.itely (Automated engraving): update \applyOutput syntax --- diff --git a/ChangeLog b/ChangeLog index f2a0a735f1..3e2f1e8f8e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2006-05-24 Han-Wen Nienhuys + * Documentation/user/advanced-notation.itely (Balloon help): idem. + + * Documentation/user/changing-defaults.itely (Creating contexts): idem. + + * Documentation/user/programming-interface.itely (Running a + function on all layout objects): idem. + + * Documentation/user/introduction.itely (Automated engraving): + update \applyOutput syntax + * lily/lyric-combine-music-iterator.cc (start_new_syllable): remove debugging hook. diff --git a/Documentation/user/advanced-notation.itely b/Documentation/user/advanced-notation.itely index a3f5fdbc7c..2a6a43edd5 100644 --- a/Documentation/user/advanced-notation.itely +++ b/Documentation/user/advanced-notation.itely @@ -1950,12 +1950,10 @@ balloon. The primary purpose of this feature is to explain notation. The following example demonstrates its use. @lilypond[quote,verbatim,fragment,ragged-right,relative=2] -\new Voice { - \applyOutput - #(add-balloon-text 'NoteHead "heads, or tails?" - '(1 . -3)) +\applyOutput #'Voice + #(add-balloon-text 'NoteHead "heads, or tails?" + '(1 . -3)) c8 -} @end lilypond @noindent diff --git a/Documentation/user/changing-defaults.itely b/Documentation/user/changing-defaults.itely index 8a4cf1c960..d6ef0ae43d 100644 --- a/Documentation/user/changing-defaults.itely +++ b/Documentation/user/changing-defaults.itely @@ -585,15 +585,15 @@ several levels. For example, the @code{\applyOutput} command (see @code{\context}, it is usually applied to @context{Voice} @example -\applyOutput #@var{function} % apply to Voice +\applyOutput #'@var{context} #@var{function} % apply to Voice @end example To have it interpreted at the @context{Score} or @context{Staff} level use these forms @example -\context Score \applyOutput #@var{function} -\context Staff \applyOutput #@var{function} +\context \applyOutput #'Score #@var{function} +\context \applyOutput #'Staff #@var{function} @end example @end itemize diff --git a/Documentation/user/introduction.itely b/Documentation/user/introduction.itely index 6f6aee468d..5716982774 100644 --- a/Documentation/user/introduction.itely +++ b/Documentation/user/introduction.itely @@ -342,11 +342,11 @@ fragment. \once \override NoteHead #'style = #'cross - \applyOutput #mc-squared + \applyOutput #'Voice #mc-squared << { d8[ es-( fis^^ g] fis2-) } - \repeat unfold 5 { \applyOutput #mc-squared s8 } + \repeat unfold 5 { \applyOutput #'Voice #mc-squared s8 } >> } @end lilypond diff --git a/Documentation/user/programming-interface.itely b/Documentation/user/programming-interface.itely index f58517ee62..fe2c884da2 100644 --- a/Documentation/user/programming-interface.itely +++ b/Documentation/user/programming-interface.itely @@ -1099,14 +1099,15 @@ current bar number on the standard output during the compile: The most versatile way of tuning an object is @code{\applyOutput}. Its syntax is @example -\applyOutput @var{proc} +\applyOutput @var{context} @var{proc} @end example @noindent where @var{proc} is a Scheme function, taking three arguments. When interpreted, the function @var{proc} is called for every layout -object found in the context, with the following arguments: +object found in the context @var{context}, with the following +arguments: @itemize @bullet @item the layout object itself, @item the context where the layout object was created, and