Re: Scheme function problems

2006-04-15 Thread Jan Nieuwenhuizen
Kieren Richard MacMillan writes: Hello, all -- Can anyone tell me why the code returns ERROR: Wrong type (expecting real number): lilyvartmpa $padding is used inside a quoted list, but it should be unquoted. Try barpadding = #(define-music-function (parser location padding music)

Re: Scheme function problems

2006-04-15 Thread Nicolas Sceaux
Kieren Richard MacMillan [EMAIL PROTECTED] writes: Hello, all -- Can anyone tell me why the code \version 2.8.1 barpadding = #(define-music-function (parser location padding music) (number? ly:music?) #{ \once \override Score.BarLine #'space-alist =

Re: Scheme function problems

2006-04-15 Thread Kieren Richard MacMillan
Hi, Jan: Thanks! Your code works great... One more question -- I want to compensate, but neither \once \override Score.BarLine #'space-alist = #`((first-note extra-space . ,$padding) (right-edge extra- space . -,$padding)) nor \once \override Score.BarLine #'space-alist =

Re: Scheme function problems

2006-04-15 Thread Nicolas Sceaux
Kieren Richard MacMillan [EMAIL PROTECTED] writes: Hi, Jan: Thanks! Your code works great... One more question -- I want to compensate, but neither \once \override Score.BarLine #'space-alist = #`((first-note extra-space . ,$padding) (right-edge extra- space . -,$padding))

Scheme function problems

2006-04-14 Thread Kieren Richard MacMillan
Hello, all -- Can anyone tell me why the code \version 2.8.1 barpadding = #(define-music-function (parser location padding music) (number? ly:music?) #{ \once \override Score.BarLine #'space-alist = #'((first-note extra- space . $padding)) $music #} ) {