On 5 September 2011 20:04, Reinhold Kainhofer <reinh...@kainhofer.com> 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

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to