>> the snippet below demonstrates that top-staff lyrics are >> incorrectly positioned above rehearsal marks if the engraver for >> the latter is moved to another context (I need that in a full score >> with rehearsal marks printed simultaneously at three different >> vertical positions). > > That looks as expected to me. The Mark_engraver is on Staff level > and the Lyrics context goes above your Staff context, so the lyrics > get higher than the marks. Why would it look different?
OK, I simplified my real-world example too much, since... > I think you likely want to move the Mark_engraver to a kind > of MarkLine context instead. ... I'm doing exactly that and was actually bitten by... > I was going to recommend moving it to StaffGroup, but I found > https://gitlab.com/lilypond/lilypond/-/issues/6357 this bug :-) Werner