I'm engraving a score where each instrument repeats a different bar. To
achieve this I tried moving the Default_bar_line_engraver to the Staff
context, but now the repeat bar lines don't appear at all.

The metre stays the same, so I don't think I have to move the
Timing_translator also, but the result is the same either way.

Any suggestions?


\version "2.18.0"
\layout {
  \context {
    \Staff
    \consists Default_bar_line_engraver
    %\consists Timing_translator
  }
  \context {
    \Score
    \remove Default_bar_line_engraver
    %\remove Timing_translator
  }
}
\score {
  {
    <<
      \new Staff {
        c'1
        c'1
        \repeat volta 2 { c'1 }
      }
      \new Staff {
        \repeat volta 2 { c'1 }
        c'1
        c'1
      }
    >>
  }
}


-- 
Mark Knoop

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

Reply via email to