Probably since the Voice context "1" created for the c, dies directly
after that note, since there are no more events directly following the c.
Then when the g appears, a new Voice context with the same name is
created but since the earlier one with a same name has already been
removed, you actually get a completely new context.

The corresponding lyrics was attached to the first Voice context called "1"
and my guess is that this association isn't renewed.

The following modification of your example illustrates this phenomenon:
 \score {\new Staff <<
   \context Voice = "1" {s1*2}
   \context Voice = "foo" { a4 b << c \\ d >> e f << g \\ a >> b c }
   \new Lyrics \lyricsto "foo" { h i j k l m n o }
   \new Lyrics \lyricsto "1" { p q r }
   \new Lyrics \lyricsto "2" { s t u }
 >>}

The additional  \context Voice = "1" {s1*2} just makes sure that the
context is kept alive long enough.

A better solution is perhaps to explicitly instantiate and name the
context for the second voice:
 \score {\new Staff <<
   \context Voice = "fie" {s1*2}
   \context Voice = "foo" { a4 b
     << {\voiceOne c} \context Voice = "fie" {\voiceTwo d } >>
     \oneVoice e f
     << {\voiceOne g} \context Voice = "fie" {\voiceTwo a } >>
     \oneVoice b c }
   \new Lyrics \lyricsto "foo" { h i j k l m n o }
   \new Lyrics \lyricsto "fie" { s t u }
 >>}

I guess the missing piece to the puzzle, compared to the insights you
just summarized in the "An overview of the system" mails, is that a
context "dies", i.e. is removed as soon as there are no more events
in it.

  /Mats

Don Blaheta wrote:

If I compile the following in 2.6.4, I get---as expected---one column
under the third note with "p" and "s".  However, I *don't* get
*anything* under the sixth note (where I would expect "q" and "t").
Why?

 \score {<<
   \context Voice = "foo" { a b << c \\ d >> e f << g \\ a >> b c }
   \new Lyrics \lyricsto "foo" { h i j k l m n o }
   \new Lyrics \lyricsto "1" { p q r }
   \new Lyrics \lyricsto "2" { s t u }
 >>}


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to