lilypond-user
[Top][All Lists]
Advanced

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

Re: Lead sheet with variables


From: David Kastrup
Subject: Re: Lead sheet with variables
Date: Tue, 23 Jan 2018 16:40:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Joseph Austin <address@hidden> writes:

> 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?

Writing \music = ... instead of music = ...

> 2. Can I get the error messages in English?

Well, LilyPond must be thinking your locale isn't English.  Those
messages appear to be Spanish.  My cute guess would have been that you
are Canadian and specified a "ca" locale which would have been Catalan,
but those seem to be Spanish messages so I have no idea why LilyPond
offers them.

-- 
David Kastrup



reply via email to

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