I have two examples in the following code.

The fist one shows a repeated section starting at measure 4.

The second shows the same code, except that a double bar ends measure 3.
In this case, the repeated section is not correct.

Is this a bug or by design?

\version "2.18.2"
\language "english"

\score {
  \relative c'' {
    \repeat unfold 3 {c d e f} \break
    \repeat volta 2 {
      s4^"Correct Repeat"
      \repeat unfold 3 {g a b c}
    }
  }
}

\score {
  \relative c'' {
    %% When a double bar is added, the repeat is not correct.
    \repeat unfold 3 {c d e f} \bar "||" \break
    \repeat volta 2 {
      s4^"Not correct"
      \repeat unfold 3 {g a b c}
    }
  }
}

Thanks,
Chris
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to