[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 2.23.5 and poly-mark-engraver https://lsr.di.unimi.it/LSR/Item?id=97
From: |
Valentin Petzel |
Subject: |
Re: 2.23.5 and poly-mark-engraver https://lsr.di.unimi.it/LSR/Item?id=976 |
Date: |
Thu, 30 Dec 2021 20:53:07 +0100 |
Hello Joel,
With 2.23 the MarkEvent gets replaced by the RehearsalMarkEvent and the
AdHocMarkEvent, where the latter is meant for labeled and uncounted marks.
This means that you you should replace 'MarkEvent in the polyMark function
for ' AdHocMarkEvent or ' RehearsalMarkEvent, depending on the kind of
labeling. Of course the polymark engraver does not differentiate between these
two things.
Cheers,
Valentin
Am Donnerstag, 30. Dezember 2021, 18:07:10 CET schrieb Joel C. Salomon:
> I'm returning to an old project (last touched in 2016) on a new
> computer, and I’m running 2.23.5 on Windows 11.
>
> 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.
>
> —Joel C. Salomon
>
> \version "2.23.5"
> \language "english"
>
> \include "poly-mark-engraver.ly" %
> http://lsr.di.unimi.it/LSR/Item?id=976
>
> \score {
> \new PianoStaff
> <<
> \new Staff = "upper" \relative c'' { c c c c | }
> \new Dynamics = "dynamics" {
> s4*4
> \polyMark #'DCFine \markup \italic "Segue"
> \bar "|."
> }
> \new Staff = "lower" \relative c { \clef bass c c c c | }
>
> >>
>
> }
signature.asc
Description: This is a digitally signed message part.