lilypond-devel
[Top][All Lists]
Advanced

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

Re: [GSoC] spanners project update


From: David Kastrup
Subject: Re: [GSoC] spanners project update
Date: Sun, 26 Jun 2016 17:06:51 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Jan-Peter Voigt <address@hidden> writes:

> Hi all,
>
> @David: thank you for your "emergency call"!
> @Nathan: sorry, for giving you bad advise in this case!
>
> To summarize, what to do with spanners, tagged with an ID: Use context
> properties to store them "globally". You can consider the Score
> context "global". If there is a context defined with \=Staff.myid,
> store it in a context property of - in this case - the Staff context.
>
> Whenever you are up to using static members, change it to properties
> of the Score context - or look for session global objects.

"Session global" does not work with score markups in music:

>>A static engraver member would be a total disaster.  What happens for
>>stuff like
>>
>>{ c1-\markup \score { \new Staff { e1 } } }
>>
>>with global variables like that?

Anything following the progress of typesetting has to run through
engraver-local variables and context properties.

-- 
David Kastrup



reply via email to

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