lilypond-devel
[Top][All Lists]
Advanced

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

Re: Make accidental styles available as context mods. (issue 4819064)


From: Neil Puttock
Subject: Re: Make accidental styles available as context mods. (issue 4819064)
Date: Mon, 5 Sep 2011 20:24:28 +0100

On 5 September 2011 20:04, Reinhold Kainhofer <address@hidden> wrote:

> Ah, I see. The problem is that the context mods are also used inside context
> definitions, like
>
> a=\with {
>  \description "Some mod"
>  ...
> }
> \context {\Score
>  \description "context desc"
>  \a
> }
>
> This is effectively the same as
>
> \context {\Score
>  \description "context desc"
>  \description "Some mod"
>  ...
> }
>
> And the later description takes overwrites the context description.

Exactly.

> It's ugly that such a situation occurs, but I guess your approach is the
> easiest, short of renaming them to \contextDescription or so...

Yep, I thought the minor infelicity involved with (ab)using
\description would be preferable to adding another parser keyword.

Cheers,
Neil



reply via email to

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