Hello all,
I am working on some chord charts, sheet music that only includes one ChordNames context. See the reduced example below.
I am now running into a problem when using the multi-mark-engraver (
https://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00157.html) in order to have multiple rehearsal marks at the same time. As I in my template use
\override RehearsalMark.outside-staff-priority = ##f to have all marks appear at the same vertical level (relative to the chord symbols) and the multi-mark-engraver also in some way works with outside-staff-priority, using the two together results in the error
Wrong type argument in position 1: #f.
Any ideas on how to get this working together? A change to the multi-mark-engraver I could apply? A good alternative to multi-mark-engraver? Another way to vertically level rehearsal marks other than through disabling outside-staff-priority?
\version "2.23.0"
% \include "multi-mark-engraver.ily"
\new ChordNames {
\mark \default
c1 c c c \break
\mark \default
\repeat volta 2 {
c1 c c c
} \break
\mark \default
c1 c c c
}
\layout {
\context {
\Score
\override RehearsalMark.outside-staff-priority = ##f
\override RehearsalMark.break-align-symbols = #'(left-edge)
\override RehearsalMark.Y-offset = 0
\override RehearsalMark.extra-offset = #'(-3 . -1)
proportionalNotationDuration = #(ly:make-moment 1/8)
\override SpacingSpanner.uniform-stretching = ##t
\override SpacingSpanner.strict-note-spacing = ##t
\override LeftEdge.space-alist.staff-bar = #'(extra-space . -1)
\remove "Bar_number_engraver"
% \remove "Mark_engraver"
% \consists #multi-mark-engraver
}
\context {
\ChordNames
\consists "Bar_engraver"
\override BarLine.bar-extent = #'(-2 . 2)
\override ChordName.Y-extent = ##f
\override ChordName.Y-offset = -1
\override ChordName.X-offset = 0.5
}
}
\paper {
indent = 0
}