Hi all,

I just can't seem to get it right:

\version "2.19"

#(define-markup-command (function-A-taking-markup-list layout props input-list) (markup-list?)    (interpret-markup layout props (markup (string-concatenate input-list))))

#(define-markup-command (feed-split-string-into-A layout props str) (string?)
   (let* ((strings (string-split str #\,)))
     (interpret-markup layout props
        #{ \markup { \function-A-taking-markup-list #strings } #} ; HERE: can this be done without #{ ... #} ?
        )))

\markup {
  \function-A-taking-markup-list { a b c }
  \feed-split-string-into-A "d,e,f"
}

What is the scheme way to construct a markup list (out of a list of strings, for example) that can be passed to a markup command?

In the line marked HERE, I would have expected something like (markup #:function-A-taking-markup-list strings), but this did not work. Probably it's because I never fully understood what a markup-list really is. :-)

Best
Lukas


Reply via email to