Graham Percival escreveu:
> I think I missed something... my understanding was that contexts were
> created automatically as needed.  In other words,
> { c'4 }
> 
> automatically expanded to
> \score{
>   \new Staff {
>     \new Voice {
>       c'4
>     }
>   }
> }

no, it doesn't work like that. The c4 cause the voice to appear.

> However, in bug 176 (below), a progerror went away by replacing a \new
> Staff with \new Voice.  What's happening?
> 
> \new Staff {
>   \override Score.SpacingSpanner #'strict-note-spacing = ##t
>   \afterGrace c'4 {c'32 c'32 }
>   c'4
> }

\override Score doesn't instantiate a new Voice, neither does << >>

\aftergrace expands to 

  << { skip 2nd-arg }
     1st-arg >> 

result: 2nd arg ends up in a different Voice as 1st-arg

-- 

Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com



_______________________________________________
lilypond-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to