lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Upgrading to 2.6 Help


From: Tim Sawyer
Subject: Upgrading to 2.6 Help
Date: Sun, 13 Nov 2005 18:15:01 +0000
User-agent: KMail/1.8.1

I'm trying to upgrade from 2.0 to 2.6, and I'm having trouble.

This fragment, passed to lilypond-book:

\begin[staffsize=20]{lilypond}
\version "2.6.0"
up = { \repeat "percent" 3 { hh8 hh8 << hh8 sn8 >> hh8 hh8 hh8 << hh8 sn8 >> 
hh8  } hh8 hh8 << hh8 sn8 >> hh8 sn8 sn8 sn8 sn8 \bar "|." }
down = { \repeat "percent" 3 { bd4 r4 bd4 r4 } bd4 r4 r2 }
\score
{ \set DrumStaff.drumStyleTable = #drums-style
\context Staff
<<
  \time 4/4
  \clef percussion
  \context Voice = up { \voiceOne \up }
  \context Voice = down { \voiceTwo \down }
  \bar "|."
>>
}
\end{lilypond}

gives this error:

volume2.tex:726 (lily-1726549371.ly):33:29: error: syntax error, unexpected 
STRING
up = { \repeat "percent" 3 {
                             hh8 hh8 << hh8 sn8 >> hh8 hh8 hh8 << hh8 sn8 >> 
hh8  } hh8 hh8 << hh8 sn8 >> hh8 sn8 sn8 sn8 sn8 \bar "|." }
volume2.tex:726 (lily-1726549371.ly):34:31: error: syntax error, unexpected 
STRING
down = { \repeat "percent" 3 {
                               bd4 r4 bd4 r4 } bd4 r4 r2 }
volume2.tex:726 (lily-1726549371.ly):34:47: error: syntax error, unexpected 
STRING
down = { \repeat "percent" 3 { bd4 r4 bd4 r4 }
                                               bd4 r4 r2 }
error: already have music in score
error: this is the previous music
error: errors found, ignoring music expression

Anyone any ideas?  convert-ly seems to output it the same as it went in.

ta,

Tim.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]