Re: Missing repeat sign after longer alternative

"Ole V. Villumsen via bug-lilypond" <[email protected]> Sat, 30 Nov 2024 09:33:18 +0000
Newsgroups gmane.comp.gnu.lilypond.bugs
Message-ID <k28Cr20IH0BQcbU7I7iY0voURj4ojKaP7oRWOgd4EYJfC7PDtH1PrEO8yNsJ2lonpelUYumGcqdc6t-l8nLWpRwKrh6_FwuMQtVOtYNRfms=@protonmail.ch>
Thanks, Knute. My source was nicely formatted before I posted it (email removed indentation), so I don‘t understand how I missed that I had inadvertently put the ending inside \repeat volta 2. In my real music and in the tiny example. Solved.
/Ole

Sent with [Proton Mail](https://proton.me/mail/home) secure email.

On Saturday, November 30th, 2024 at 00:38, Knute Snortum <[email protected]> wrote:

> On Fri, Nov 29, 2024 at 1:35 PM Ole V. Villumsen via bug-lilypond <[email protected]> wrote:
>
>> Expected: Repeat sign after first volta.
>> Observed: No repeat sign anywhere.
>>
>> \version "2.24.4"
>>
>> {
>> \repeat volta 2 {
>> d' 1 |
>> \alternative {
>> \volta 1 { f' | g' | }
>> \volta 2 { d' | }
>> }
>> c' |
>> \bar "|."
>> }
>> }
>
> Formatting will help you see the problem:
>
> \version "2.24.4"
>
> {
> \repeat volta 2 {
> d' 1 |
> \alternative {
> \volta 1 { f' | g' | }
> \volta 2 { d' | }
> } % end of alternative
> } % end of volta
> c' |
> \bar "|."
> }
>
> --
> Knute Snortum