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

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


 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

---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/