Re: Missing opening repeat after double bar

2023-11-18 Thread Hans Aikema
> On 18 Nov 2023, at 14:29, Hans Aikema wrote: > > And then I realised…. It can even be done in a simpler way: swap out the > \bar”||” custom bar for \section and lilypond already knows that it should > create both a section-end bar at the end and a repeat-start at the start of > the next li

Re: Missing opening repeat after double bar

2023-11-18 Thread Peter Mayes
On 18/11/2023 13:29, Hans Aikema wrote: swap out the \bar”||” custom bar for \section Simple and elegant! Thanks again -- Best wishes -- Peter -- Peter Mayes

Re: Missing opening repeat after double bar

2023-11-18 Thread Hans Aikema
And then I realised…. It can even be done in a simpler way: swap out the \bar”||” custom bar for \section and lilypond already knows that it should create both a section-end bar at the end and a repeat-start at the start of the next line \repeat volta 2 { c1 } \break c1 \section \br

Re: Missing opening repeat after double bar

2023-11-18 Thread Peter Mayes
Many thanks. I think there is a typo in what you supplied, but with the documentation reference, I got what I wanted:   \defineBarLine "||.|:" #'("||" ".|:" #f) I needed "#'" before the definition, and I reversed the order of the arguments, to get the double bar before the opening repeat bar

Re: Missing opening repeat after double bar

2023-11-18 Thread Hans Aikema
> On 18 Nov 2023, at 13:56, Hans Aikema wrote: > > > >> On 18 Nov 2023, at 13:30, Peter Mayes wrote: >> >> The score I am trying to emulate has an initial repeated section, a >> non-repeated section, and another repeated section. The non-repeated section >> ends with a double bar line, bu

Re: Missing opening repeat after double bar

2023-11-18 Thread Hans Aikema
> On 18 Nov 2023, at 13:30, Peter Mayes wrote: > > The score I am trying to emulate has an initial repeated section, a > non-repeated section, and another repeated section. The non-repeated section > ends with a double bar line, but when I add this (as in bar 7 below), it > suppresses the op

Missing opening repeat after double bar

2023-11-18 Thread Peter Mayes
The score I am trying to emulate has an initial repeated section, a non-repeated section, and another repeated section. The non-repeated section ends with a double bar line, but when I add this (as in bar 7 below), it suppresses the opening repeat in the following section (in bar 8). I want bot