On 5/11/10 10:40 AM, "Carl Sorensen" <[email protected]> wrote:
> In the example above:
>
> \context Voice \repeat unfold 2 \relative c' {c2 d},
>
> \relative c' { c2 d } is a single music expression, so it doesn't need {}
> around it to turn it into a sequence in order to work with \repeat unfold 2.
> Similarly, \repeat unfold 2 music is a single music expression, so it
> doesn't need {} to turn it into a sequence to work with \relative c'.
Oops -- I had a thinko there: s/\\relative c'/\\context Voice/ in the final
sentence above.
>
> But in order to avoid the confusion that can arise, the GDP standards say
> that even a single music expression should be surrounded by {} when is is an
> argument to a lilypond command or music function.
>
> So we would go
>
> \context Voice { % { not strictly needed by LilyPond syntax
> \repeat unfold 2 { % { not strictly needed
> \relative c' { % { needed; c2 d is *not* a single music expression
> c2 d
> }
> }
> }
>
>
> HTH,
>
> Carl
>
>
> _______________________________________________
> lilypond-devel mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/lilypond-devel
_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel