lilypond-user
[Top][All Lists]
Advanced

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

User-defined function in lilypond-book


From: Peter O'Doherty
Subject: User-defined function in lilypond-book
Date: Tue, 29 May 2018 21:14:48 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

Hi,

Is it possible to use a user-defined function in lilypond-book? When I include one such function as below, I get this error:
error: unrecognized string, not in text script or \lyricmode

This is the start of the code block:

begin [fragment,staffsize=16,notime,noindent]{lilypond}
userdefinedfunction =
#(define-music-function (parser location music) (ly:music?)
...
...
\end {lilypond}


Thanks,
Peter






reply via email to

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