I am compiling a large book of songs, and for this I would like to have many local function definitions, which, in the end, will be in the \include d file, but that doesn't make any difference here. To do this, I need to define functions within the \score{ ... } . However, LilyPond continues to throw errors.
Inoperative example:
\version "2.17.26" \book { \header { title = "This is a book" } \score { xyz = { a' b' c'' } abc =
It produces an error message:
test.ly:10:17: error: unrecognized string, not in text script or \lyricmode xyz = { a' b' c'' }
The following works, however, I must provide functions for the unique names that I frowned at.
\version "2.17.26" xyz = { a' b' c'' } abc =
scope lisp user-defined-functions lilypond
yo '
source share