Please always tell what LilyPond version you use, otherwise you
might get an answer that's irrelevant, since LilyPond is still
evolving quickly from version to version. From your example it
looks as if you use version 2.2 or older, so I'll assume 2.2 below.

Did you read the section in the manual called "The Lyrics context"?
As you can find out there, you should explicitly name the Voice
context you want to attach the lyrics to.

Also, there's a conceptual misunderstanding here. A Staff context
can only contain notes, i.e. Voice contexts. In other words, you
cannot have your lyrics included within the \new Staff << ... >>.

However, the main problem of your score was the tie on the
final e of the triplet. Since the next note isn't also an e,
you cannot have any tie and for some strange reason LilyPond
got confused and thought that you had a melisma extending to the
next e in the score (which never happened in your example).
I will send a bug report about this problem.

Here's a modified version of your example:

\version "2.2.0"
\score {
  <<
    \notes \relative c'' \new Staff <<
      \context Voice = "upper" {\voiceOne
        r8 d, \times 2/3 { d d e } g'8 g g g  }

       \context Voice = "lower" {\voiceTwo
        \skip 2   e,2 f2  b2
        }
    >>
    \lyricsto "upper" \new Lyrics
       \lyrics { et s'en al -- ler et s'en al -- ler }
  >>
}



Jean-Jacques Rétorré wrote:
Hi,
I am a very newbie in Lilypond, and I just type my first piece.
I can't attach the lyrics as I would like to:


8<----------------------------
\score {
\notes
\relative c''
\context Staff <<
\new Voice {\voiceOne
r8 d, \times 2/3 { d d e~ } g'8 g g g } \lyricsto "" \new Lyrics
\lyrics { et s'en al -- ler et s'en al -- ler }
\new Voice {\voiceTwo
\skip 2 e,2 f2 b2
}>>
}


8<-----------------------------
The lyrics are not attached to g'8 g g g
the tie e~ e2 is ignored.

Any hint ?

JJR.



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

-- ============================================= 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