David Kastrup <d...@gnu.org> writes: > Caio Giovaneti de Barros <caio.bar...@gmail.com> writes: > >> 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" } >> >> >> >> But when I run it with Lilypond 2.19.23 I get: >> >> >> In expression (value->lily-string m): >> >> /home/caio/lilypond/usr/share/lilypond/current/scm/ly-syntax-constructors.scm:33:14 >> <1>: Unbound variable: value->lily-string > > That is a bug. LilyPond hits an internal error while trying to report > gogr.ly:6:18: error: music function cannot return \markup \line { \circle "1"} > \relative c' { c > \circled #"1" }
Pushed a fix to LilyPond. It will now report the problem correctly. -- David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user