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: Trevor Daniels
Subject: Re: [frogs] Chord-name-engraver plus capo
Date: Thu, 26 Aug 2010 20:00:05 +0100


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





reply via email to

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