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: tk5wbps2
Subject: Re: A section label and segno mark should be allowed to exist together
Date: Thu, 06 Oct 2022 21:55:49 -0400

On Thursday, October 6th, 2022 at 4:36 PM, Jean Abou Samra 
jean_at_abou-samra.fr_tk5wbps2@duck.com wrote:

> 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.

What I had thought of as a section label is a rehearsal mark as you have 
cleared up. Thank you for correcting me!

> 
> How about using a real rehearsal mark
> 
> then? These happily coexist with segno marks.

This works! Thanks again!
 
> \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]