On 2023-12-16 4:48 am, Sebastian Käppler wrote:
Hello,
I'm trying to use some of the functions in translation-functions.scm to
create my own note name markup. However, if I use
note-name->lily-string or
octave->lily-string, I get an "unbound variable" error for that
function. I
even tried to copy the whole note-name-markup code from the source to
my
code and rename it to note-name-custom-markup. But if I use this in
\set
noteNameFunction, I get that same error.
Sorry if this is a dumb question, but I'm still trying to familiarize
myself with most concepts of scheme...
Odd. A function like note-name->lily-string is exported from
define-music-display-methods.scm.
Have you tried adding an explicit...
(use-modules (scm display-lily))
...in your source file?
-- Aaron Hill