Thanks All! I'v been using bar checks outside the curlys and never had any problem until now :/ I remove the checks and everything works fine.
In the manual theres lot of examples using \alternative with unfold and I've use it normaly. Again, Thanks! 2014-11-21 13:52 GMT-03:00 Pierre Perol-Schneider < [email protected]>: > Hi Marcos, > > 2014-11-21 17:02 GMT+01:00 Marcos Press <[email protected]>: > > >> Can someone tell why the small fragment in the attached .ly file, gives >> these error? >> > > You have to put the barlines at the right places ; the following code > won't give you any error/warning : > > \version "2.18.2" > > \relative c'{ > \time 2/4 > \repeat unfold 2 { r16 fis g a bes a8 fis16 | } > \alternative { > { g16 fis g a bes a8 fis16 | } > { g16 fis g a bes a8 e16 | } > } > \repeat unfold 3 { g16 fis g a bes a8 e16 | } > } > > but won't probably give you what you expected... > > >> Another curiosity is, if in the .ly file I write in diferent lines the { >> } an the music expresions of the \repeat, like these: >> >> \repeat unfold 2 { >> c c >> } >> >> the file compiles with these warning and the pdf voltas results in one >> less as the warning said: >> > > In fact, the \alternative code needs to be preceeded by \repeat volta > (and not \repeat unfold) to be expressed ; so here it goes : > > \version "2.18.2" > > \relative c'{ > \time 2/4 > \repeat volta 2 { r16 fis g a bes a8 fis16 | } > \alternative { > { g16 fis g a bes a8 fis16 | } > { g16 fis g a bes a8 e16 | } > } > \repeat unfold 3 { g16 fis g a bes a8 e16 | } > } > > > HTH; > Pierre > > >
_______________________________________________ lilypond-user mailing list [email protected] https://lists.gnu.org/mailman/listinfo/lilypond-user
