Hi List!
Can someone tell why the small fragment in the attached .ly file, gives
these error?
####
$ lilypond rep.ly
GNU LilyPond 2.18.2
...
rep.ly:8:1: error: syntax error, unexpected \alternative
\alternative {
rep.ly:3:1: error: se han encontrado errores, se ignora la expresión musical
\relative c'{
error fatal: archivos que han fallado: "rep.ly"
####
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:
####
$ lilypond rep.ly
GNU LilyPond 2.18.2
...
advertencia: Hay más alternativas que repeticiones. Se recortan las
alternativas excedentes
warning: There are more alternatives than repetitions. The exceded
alternatives are cut.
[...]
Enhorabuena. La compilación se ha completado satisfactoriamente.
####
Thanks for the help
Marcos
\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} |
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user