Re: programming error: cyclic dependency: example
Dan Eble <[email protected]>
| Newsgroups | gmane.comp.gnu.lilypond.devel |
|---|---|
| Message-ID | <238e548c-c207-4ecb-b101-993285c1f1bd__1371.6666888044$1756568387$gmane$org@gmail.com> |
[moving to [email protected]] On 2025-08-28 10:52, Richard Shann wrote: > The score below has the Bar_number_engraver moved to Staff level: > depending on the details of the music this causes an error: > > programming error: cyclic dependency: calculation-in-progress encountered for VerticalAxisGroup.adjacent-pure-heights > continuing, cross fingers > > In the real-life example that lead to this MWE the typesetting is ok, > so I'm submitting this in the hope it may prove useful for developers. > > 8><8><8><8><8><8><8><8><8><8><8><8><8><8><8>< > \version "2.24" > MI = { > s1 > \startStaff \unHideNotes > c''1 > c'' > } > MII = { > R1 > R1 > R1 > } > \score { > << > \new Staff \with { > \RemoveAllEmptyStaves > \consists "Bar_number_engraver" %this causes programming error: cyclic dependency > } > { > \stopStaff \hideNotes > \override Staff.TimeSignature.transparent = ##t > \override Staff.Clef.stencil = ##f > \MI > } > \new Staff > { > \MII > } > >> > } > 8><8><8><8><8><8><8><8><8><8><8><8><8>< > > Richard Shann > >