> It might make sense to look in the Guile manual for string operations.
> Other than that, check out the notation manual for a description of
> available markup commands (like \concat).

I know concat, but it did not work here. For the \with-url command I
need to replace the #"http" which is somehow different from the "text":
\with-url #"http" "text"
For the text part, \concat would work but for the http part I tried all
combinations of # and $ but I always got scheme errors.

How can I use scheme functions within lilypond code inside #{ #}?

I tried this:

#(define-markup-command (myfunction layout props link text)
(markup? markup?)
  "Comment."
  (interpret-markup layout props
    #{\markup \with-url #(string-append #"http" #link) #text #}))

Cheers,
Joram

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to