lilypond-devel
[Top][All Lists]
Advanced

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

Re: [frogs] Chord-name-engraver plus capo


From: Wols Lists
Subject: Re: [frogs] Chord-name-engraver plus capo
Date: Thu, 26 Aug 2010 21:41:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100727 Thunderbird/3.1.1

 On 26/08/10 20:00, Trevor Daniels wrote:
>
> Wols Lists wrote Thursday, August 26, 2010 2:19 PM
>>
>> Learning a bit at a time ... how do I add properties? I've used "\set
>> ChordNames.capoFret = #3", but it's a new property, and it's objecting,
>> as you can see. I've added it to the "read" section of the
>> ADD_TRANSLATOR macro of chord-name-engraver.cc, but I'm guessing that
>> tells the engraver to use it, it doesn't tell lily that the property
>> exists ...
>
> Have a look at scm/define-grob-properties.scm and
> scm/define-context-properties.scm.  These define and
> document all properties.  I think that's what you need;
> I'm sure someone else will chime in if not.
>
> Trevor
>
Thanks. Spot on.

Cheers,
Wol



reply via email to

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