Le 10/06/2022 à 08:40, Xavier Scheuer a écrit :
On Fri, 10 Jun 2022 at 02:54, Ahanu Banerjee <[email protected]> wrote:
% unexpected warning with rests inside tuplet:
% "direction of grob Stem must be UP or DOWN; using UP"

\version "2.23.9"
\layout {
   \context {
     \Voice
     \consists "Melody_engraver"
     \override Stem #'neutral-direction = #'()
   }
}

{ \tuplet 3/2 { r4 r r } }
Hello,

It looks like #6093 but it has been fixed and closed (and I don't
understand the ins and outs of the discussion between developers).
https://gitlab.com/lilypond/lilypond/-/issues/6093



Previously, you needed \override Stem.neutral-direction = #'()
to signal that you allowed LilyPond to set the neutral direction
itself. This did not work well because the Melody_engraver does
not do this in all cases, like for rests. That left the rest's
stem (yes, it exists) without a direction. If something (like a
tuplet) requested the direction, that could go wrong. This one
appears to have worked by accident. In 2.23,

- Warnings have been added for this, so while this worked
  for the wrong reason before, it now warns.
- The override has been made unnecessary.

The solution is to simply remove it.

Best,
Jean




_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to