lilypond-devel
[Top][All Lists]
Advanced

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

Re: Limiting the number of accepted contexts


From: Werner LEMBERG
Subject: Re: Limiting the number of accepted contexts
Date: Thu, 12 Jul 2018 15:21:02 +0200 (CEST)

> I am considering allowing context definitions to express that no
> more than one of a certain child is accepted.  This is the currently
> implicitly the case for Score as a child of Global.
> 
> I thought a syntax something like this would work:
> 
>       \accepts “Zinnia”  % any number of Zinnias is accepted
>       \accepts 1 “Peony” % at most one Peony is accepted
> 
> A user asking specifically for a \new Peony when one already exists
> gets a warning.

What is this good for?


    Werner

reply via email to

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