Le 23/07/2022 à 15:58, Richard Shann a écrit :
The combination of Ambitus and a cue seems to provoke a strange
warning:
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
\version "2.22"
MvmntIVoiceI = { c'1 c'}
MvmntIVoiceII = {
\cueDuringWithClef #"1 Treble on Staff 1 Mvmnt 1"#1 #"treble"
{ R1*4/4 }
c1
}
\layout { \context { \Voice \consists "Ambitus_engraver" }}
\addQuote "1 Treble on Staff 1 Mvmnt 1" \MvmntIVoiceI
\score {
<<
\new Staff <<
\new Voice { \MvmntIVoiceI } %End of voice
>> %End of Staff
\new Staff <<
\new Voice = "MvmntIVoiceII" { \clef alto
\MvmntIVoiceII }
>>
>>
}
8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><8><
which gives:
Starting lilypond 2.22.0 [Ambitus-cue-notecolumnclash.ly]...
Processing `/home/rshann/Skype/Ambitus-cue-notecolumnclash.ly'
Parsing...
Interpreting music...
Interpreting music...
Preprocessing graphical objects...
programming error: Note_column without heads and stem
continuing, cross fingers
/home/rshann/Skype/Ambitus-cue-notecolumnclash.ly:6:18: programming
error: note-column has no direction
c1
/home/rshann/Skype/Ambitus-cue-notecolumnclash.ly:6:18: continuing,
cross fingers
I cut this down from a much bigger score to make a MWE but in so doing
I see I have inadvertently triggered an extra warning, the first one
above about Note_column without heads and stem. The original only has
the warning about "note-column has no direction". I hope this won't
muddy the issue.
Any thoughts?
That sounds like https://gitlab.com/lilypond/lilypond/-/issues/1113.
The fix appears to be very simple, currently writing the regression
tests to post a patch ...
You can work around it for now using
\layout {
\context {
\Score
\override AmbitusNoteHead.meta.interfaces =
#'(ambitus-interface
font-interface
ledgered-interface
note-head-interface
staff-symbol-referencer-interface)
}
}
Best,
Jean