Le 06/10/2022 à 22:02, tk5wbps2--- via bug-lilypond a écrit :
% A section label and segno mark should be allowed to exist together
% However the following tiny example generates two warnings:
% 1) warning: conflict with event: `section-label-event'
% 2) warning: discarding event: `segno-mark-event'
% The segno mark is dropped, and the dal-segno becomes a da-capo.
\version "2.23.13"
\absolute {
e'1
\section
\sectionLabel \markup \box { A }
\repeat segno 2 {
g'1 |
\alternative {
\volta 1 {
b'1
}
\volta 2 \volta #'() {
\section
\sectionLabel "Coda"
}
}
}
d''1
}
This behavior is intentional. My understanding is that
this was done in order to leave room in the future for
features that use "the" text/object that identifies
a particular point.
Your use of \sectionLabel
\sectionLabel \markup \box { A }
looks like this text is more of a rehearsal mark than
a section label. How about using a real rehearsal mark
then? These happily coexist with segno marks.
\version "2.23.13"
\absolute {
\set Score.rehearsalMarkFormatter = #format-mark-box-alphabet
e'1
\section
\mark \default
\repeat segno 2 {
g'1 |
\alternative {
\volta 1 {
b'1
}
\volta 2 \volta #'() {
\section
\sectionLabel "Coda"
}
}
}
d''1
}
Best,
Jean
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond