|
From: | Caio Giovaneti de Barros |
Subject: | Defining a markup text using Scheme |
Date: | Mon, 20 Jul 2015 18:12:21 -0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 |
Hello! I'm trying to build a function that creates a circled text of my choice using \markup and a bit of Scheme. So far what I have is: circled = #(define-music-function (parser location txt) (string?) #{ \markup { \circle #txt } #})
\relative c' { c \circled #"1" }
In _expression_ (value->lily-string m): /home/caio/lilypond/usr/share/lilypond/current/scm/ly-syntax-constructors.scm:33:14: Unbound variable: value->lily-string
music function cannot return (#<procedure line-markup (layout props args)> ((#<procedure circle-markup (layout props arg)> 1))) \relative c' { c\circled #"1" } What am I doing wrong? Caio G. de Barros |
[Prev in Thread] | Current Thread | [Next in Thread] |