On 10/27/09 7:11 PM, "bradford powell" <[email protected]> wrote:

> On Mon, Oct 26, 2009 at 4:12 PM, Robin Bannister <[email protected]> wrote:
>> #(define* (draw hole #:optional (bends 0))  (markup (make-line-markup
>> (make-list bends #:flat )) #:circle hole))
>> 
>>  The make-list result is not itself a markup; for that, it must be passed to
>> something like #:line.    And then the restriction at the end of NR 6.4.1
>> applies.
>> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Markup-construction
>> -in-Scheme
>> 
> 
> When I try that (with something like (draw "4" 1)), I still get:
>  error: make-line-markup: Invalid argument in position 1.  Expect:
> list of markups, found: (#:flat)
> 
> I guess I could just hard-code the different degrees of bending, but
> it seems like there should be a way to do this.

Why are you using make-line-markup, which needs an argument of a list of
markups?  Don't you just need a markup.

i.e. couldn't you just do

 (markup (draw "4" 1))?

HTH,

Carl



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to