[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: define-markup-function problem
From: |
Kieren MacMillan |
Subject: |
Re: define-markup-function problem |
Date: |
Wed, 28 Jan 2009 18:08:12 -0500 |
Hi Carl,
Please try your original code again,
with (list stringA stringB) instead of (cons stringA stringB).
I get:
Parsing.../Applications/Lilypond/current/LilyPond.app/Contents/
Resources/share/lilypond/current/scm/markup.scm:208:10: In procedure
string-append in expression (string-append make-name ": " ...):
/Applications/Lilypond/current/LilyPond.app/Contents/Resources/share/
lilypond/current/scm/markup.scm:208:10: Wrong type (expecting
string): (1 "list of markups" (#<primitive-procedure list> "one" "two"))
However, it appears to work as expected with *nothing*, i.e.,
#(define-markup-command (test layout props stringA stringB) (string?
string?)
(interpret-markup layout props
(markup #:column (stringA stringB))))
\markup \test #"one" #"two"
What exactly is the syntax issue here?
Thanks,
Kieren.