lilypond-devel
[Top][All Lists]
Advanced

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

Re: Cf. Hofstadter's Law


From: Rune Zedeler
Subject: Re: Cf. Hofstadter's Law
Date: Wed, 10 Jul 2002 16:37:47 -0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513

Han-Wen Nienhuys wrote:

I don't know precisely: in what cases do you absolutely need to
postpone the grob creation step to stop_translation_timestep ()?

Problem is: You don't know that before stop_translation_timestep.
The problematic cases is when an accidental depends on a simultainous acc in another staff: In \context PianoStaff < c cis > the c needs to get a natural because of the cis in the other staff. In the process_acknowledged_grobs phase of the first staff the second staff has not yet been interpreted and hence YOU DON'T KNOW whether a cis (or ces or whatever) will occur in that staff. This is true for all notes. Even though in 99,999% of the cases no cis will appear in the other staves so that no accidentals are needed. But you don't KNOW it before you have interpreted all staves - in the stop_translation_timestep phase.


-Rune






reply via email to

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