I tried to modify the Lead Sheet example by using a variable:
-----------
\version "2.19.40"
\music = \relative c'' {
a4 e c8 e r4
b2 c4( d)
}
\score {
<<
\chords { c2 g:sus4 f e }
\music
\addlyrics { One day this shall be free __ }
>>
\layout { }
}
=========
and I got the following errors:
-----------
Procesando «/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly»
Analizando...
/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly:3:1: error: cadena de escape desconocida: `\music'
\music = \relative c'' {
Interpretando la música...
Preprocesando los objetos gráficos...
Buscando el número de páginas ideal...
Disponiendo la música en una página...
Dibujando los sistemas...
Salida de la página hacia «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6m0000gn/T//lilypond-M7rF1a»...
Convirtiendo en «leadSheet07.pdf»...
Suprimiendo «/var/folders/8c/krjhl46n5fq3wxbl0nvlfy6m0000gn/T//lilypond-M7rF1a»...
error fatal: archivos que han fallado: "/Users/josephaustin/lilypond/scripts/TEST/leadSheet07.ly"
=====================
My questions:
1. what did I do wrong?
2. Can I get the error messages in English?
_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user
The error is that you used a slash during variable assignment. So, it should have been:
music = \relative ...
and not
\music = \relative ...
HTH,
Abraham