bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A section label and segno mark should be allowed to exist together


From: Jean Abou Samra
Subject: Re: A section label and segno mark should be allowed to exist together
Date: Fri, 7 Oct 2022 01:36:33 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]