2015-01-27 23:35 GMT+01:00 Chris Trahan <trahan.ch...@gmail.com>: > 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?
Hi, it's hardcoded in repeat-acknowledge-engraver.cc not to set the 'which-bar-property (i.e. the opening repeat-sign, taken from the relevant context-property), if the user sets an own 'which-bar, i.e. in this case: \bar "||" So it's by design prefering the users choice ;) > \version "2.18.2" > > \score { > \relative c'' { > %% When a double bar is added, the repeat is not correct. > \repeat unfold 3 {c d e f} \bar "||" \break use \bar ".|:-||" instead, see NR ;) > \repeat volta 2 { > s4^"Not correct" > \repeat unfold 3 {g a b c} > } > } > } HTH, Harm _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user