On Fri, 2014-09-19 at 21:04 -0700, Paul Morris wrote: > Richard Shann-2 wrote > [...] could someone advise what the LilyPond syntax > > would be needed to trigger this conditional? > > I was guessing it might be > > > > \layout { > > \context { > > \ChordNames > > compact = ##t > > } > > > > but whatever I try I just get an empty list for that property. > > As far as I know, to introduce a custom context property like this, you > first need to add it to the list of: > > all-translator-properties > > using a procedure like: > > translator-property-description > > as found in: > > scm/define-context-properties.scm > > After that you should be able to set it to #t like you want.
Perfect! It seems that with this I can use ly:context-property without the "where-defined" bit. Thanks for the quick reply. Richard > > HTH, > -Paul > > > > -- > View this message in context: > http://lilypond.1069038.n5.nabble.com/Compact-Chord-Charts-tp166609p166645.html > Sent from the Dev mailing list archive at Nabble.com. > > _______________________________________________ > lilypond-devel mailing list > lilypond-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/lilypond-devel _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel