lilypond-user
[Top][All Lists]
Advanced

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

Re: besideCN seems to have stopped working


From: Gerry Prosser
Subject: Re: besideCN seems to have stopped working
Date: Thu, 31 May 2012 19:45:03 +0100

Choan ... if you are scheme-illiterate, what does that make me ?  Removing the dollars certainly seems to work - thank you! Hopefully someone cleverer than us will be along shortly to explain why ...... G

On 31 May 2012 18:03, Choan Gálvez <address@hidden> wrote:
On 5/31/12 12:09 , Gerry Prosser wrote:
besideCN is used to display capo settings along with guitar chord names,
but with 2.15.39 I get error message 'Unbound variable: $which-side'

the last working score I have was compiled with 2.15.13

besideCN = #(define-music-function (parser location which-side
added-text) (integer? string?) #{\once \override ChordNames.ChordName
#'stencil = #(lambda (grob) (ly:grob-set-property! grob 'text (markup
#:put-adjacent 0 $which-side ; #LEFT or #RIGHT
(ly:grob-property grob 'text) $added-text)) (ly:text-interface::print
grob)) #})

Chords = \new ChordNames \chordmode {
  \besideCN #LEFT "Capo1 " d1 fis2:m7 b2:m e1:m7 a
}

any clues, anyone, please ?

Removing the $ prefixes from both $which-side and $added-text worked for me. Actually, I'm not sure why it worked as I'm still an scheme illiterate.

Best.
--
Choan Gálvez

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


reply via email to

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