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
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel