I wanted to use the same layout in a number of places, so put it into a
variable. And got an error.
\version "2.19.52"
\language "english"
Lay = {
\layout {
}
}
\new Score {
\new Staff {
\relative
{ c'4 c c c }
}
}
gives
Starting lilypond-windows.exe 2.19.52 [Layout.ly]...
Processing `D:/Peter/Music/Lilypond/Bugs/Layout.ly'
Parsing...
D:/Peter/Music/Lilypond/Bugs/Layout.ly:6:3: error: syntax error, unexpected
\layout
\layout {
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Layout output to `./tmp-lilypond-PzQNTV'...
Converting to `Layout.pdf'...
Deleting `./tmp-lilypond-PzQNTV'...
fatal error: failed files: "D:/Peter/Music/Lilypond/Bugs/Layout.ly"
Exited with return code 1.
Any ideas why?
Regards,
Peter
mailto:lilyp...@ptoye.com
www.ptoye.com
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user