lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using Scheme


From: Graham Percival
Subject: Re: Using Scheme
Date: Sat, 13 May 2006 08:19:31 -0700


On 12-May-06, at 11:37 AM, Nicolas Sceaux wrote:
  manBeam =
  #(define-music-function (parser location beg-end)
                          (cons?)
    #{ \once \override Beam #'positions = #$beg-end #})

  \manBeam #'(3 . 6)
  \manBeam #(cons 3 6)


Are you sure about that (cons?)  ?  The following gives me this:
GNU LilyPond 2.8.2
Processing `bug.ly'
Parsing...ERROR: Unbound variable: cons?


manualBeam =
#(define-music-function (parser location beg-end)
                        (cons?)
#{
  \once \override Beam #'positions = #$beg-end
#})

\relative {
 c'4
%  \manualBeam #'(3 . 6) c8 d e f
}

Cheers,
- Graham





reply via email to

[Prev in Thread] Current Thread [Next in Thread]