That solved it---thank you! tisimst <tisimst.lilyp...@gmail.com> writes:
> Steven, > > The lyrics line should read "\new Lyrics \lyricsto mel \text", without > the "=". > > - Abraham > > On Fri, Mar 20, 2015 at 1:30 PM, Steven Arntson [via Lilypond] < > [hidden email]> wrote: > > I'm trying to create a simple score with voice/lyrics and piano. > I'm > basing it on a snippet I found in Frescobaldi, but entering things > myself with a few differences, as a learning exercise. The error I > get > in the \score block when I engrave is: > > | syntax error, unexpected \lyricsto, expecting SCM_IDENTIFIER or > | SCM_TOKEN or STRING \new Lyrics = \lyricsto mel \text > > Here's the working example: > > \version "2.19.12" > \language "english" > > % variables > global = { > \key e \minor > \time 2/2 > \tempo 4 = 120 > } > > melody = \relative c' { > \global > \clef bass > a2 b2 | > } > > text = \lyricmode { > hel -- lo | > } > > chordsymbols = \chordmode { > % chords here > } > > upper = \relative c'' { > \global > \clef treble > a2 b2 | > } > > lower = \relative c { > \global > \clef bass > a2 b2 | > } > > \score { > << > \new Voice = "mel" { \autoBeamOff \melody } > \new Lyrics = \lyricsto mel \text > \new ChordNames = "chordsymbols" > \new PianoStaff << > \new Staff = "upper" \upper > \new Staff = "lower" \lower > >> > >> > \layout { > \context {} > } > \midi {} > } > > > Thank you, > steven arntson > > > _______________________________________________ > lilypond-user mailing list > [hidden email] > https://lists.gnu.org/mailman/listinfo/lilypond-user > > > > ---------------------------------------------------------------------- > > If you reply to this email, your message will be added to the > discussion below: > http://lilypond.1069038.n5.nabble.com/beginner-score-error-tp173405.html > > To start a new topic under User, email [hidden email] > To unsubscribe from Lilypond, click here. > NAML > > ---------------------------------------------------------------------- > View this message in context: Re: beginner score error > Sent from the User mailing list archive at Nabble.com. > > _______________________________________________ > lilypond-user mailing list > lilypond-user@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-user _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user