lilypond-devel
[Top][All Lists]
Advanced

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

Re: Compact Chord Charts


From: Richard Shann
Subject: Re: Compact Chord Charts
Date: Sat, 20 Sep 2014 08:18:42 +0100

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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/lilypond-devel





reply via email to

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