On Dec 30, 2021, at 14:24, Lukas-Fabian Moser <l...@gmx.de> wrote: > > Hi Joel, > >> Several of the scores used poly-mark-engraver from >> <https://lsr.di.unimi.it/LSR/Item?id=976> (see also >> <https://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00157.html>), >> and this now fails with >> >>> fatal error: cannot find music object: MarkEvent >> >> (Minimal example below signature; the demonstration included in >> <https://lsr.di.unimi.it/LSR/Snippet?id=976> also fails the same way.) >> >> This is both a bug-report if anyone’s maintaining the snippet, and a >> question whether there’s now a better way to write da capo, al segno, and >> other coda-like repeats. > > Indeed there is. There's heavy ongoing (or by now maybe even finished?) work > by Dan Eble on precisely this group of features.
MarkEvent was split into RehearsalMarkEvent and AdHocMarkEvent in the summer of 2021. You might try replacing MarkEvent with AdHocMarkEvent and see whether it works for you. LilyPond 2.23.6 will support some D.C., D.S., al Fine, and alla Coda repeat structures automatically using "\repeat segno" with the same syntax as "\repeat volta". — Dan