lilypond-devel
[Top][All Lists]
Advanced

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

Re: bounty for fixing issue 4044 (\addlyrics with custom contexts)


From: David Kastrup
Subject: Re: bounty for fixing issue 4044 (\addlyrics with custom contexts)
Date: Sun, 03 Aug 2014 18:33:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> \displayMusic {
>   $#{ \withMusicProperty type #'ContextSpeccedMusic \new Voice = wow { c'1 } 
> #}
>   \addlyrics { zing }
> }
>
> (the $#{ ...#} construct is needed to avoid \addlyrics doing its work
> before \withMusicProperty is being called) then LilyPond crashes because
> it then tries executing (music), namely calling a music expression as if
> it were a function.  This code path never was operative.

Oh good grief.

\new Voice = wow { c'1 }
\addlyrics { zing }


is parsed (regarding the grouping) as

\new Voice = wow { { c'1 } \addlyrics { zing } }

This is getting worse and worse.  It is a wonder anything ever worked at
all.

-- 
David Kastrup



reply via email to

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