It's very difficult to troubleshoot without narrowing down the code causing the error, but look for grobs where the typesetting depends on line breaking, especially cross-staff grobs.
On Fri, Jan 10, 2025 at 1:04 PM Richard Shann <rich...@rshann.plus.com> wrote: > In a large file a programming error message is emitted: > > Starting lilypond 2.24.1 [KT Tangos dc.ly]... > Processing `/home/rshann/Skype/KT Tangos dc.ly' > Parsing... > Interpreting > music...[8][16][24][32][40][48][56][64][72][80][88][96][104][112][120][ > 128][136][144][152][160][168][176][184][192][200][208][216] > Preprocessing graphical objects... > programming error: cyclic dependency: calculation-in-progress > encountered for VerticalAxisGroup.adjacent-pure-heights > continuing, cross fingers > [...several more the same] > Finding the ideal number of pages... > Fitting music on 10 or 11 pages... > Drawing systems... > warning: Found infinity or nan in output. Substituting 0.0 > warning: Found infinity or nan in output. Substituting 0.0 > Converting to `KT Tangos dc.pdf'... > Success: compilation successfully completed > Completed successfully in 6.1". > > Attempts to cut down the file have not been successful. The typeset > output seems ok. Is there anything that can be done? > > Richard Shann > > > >