Try this:

---
\version "2.10.29"
global = {
  \skip 1 |
  \repeat volta 2 {
    \skip 1
    }\alternative {{ \skip 1 } {\skip 1 }}
}

music=\relative c' {
  \repeat unfold 8 c8 |
  \repeat unfold 8 d |
  \repeat unfold 8 g,|
  g a b c ~ c2 
}

\score {
  \unfoldRepeats \context Staff << \global \music >>
}
---


Without \unfoldRepeats, the music looks correct.  With \unfoldRepeats,
no repeats are shown and nothing is unfolded.  As this is a pretty
common idiom (introduced to me by Jan) surely it should be supported?


(BTW, here's what I'm using it for:  to produce midi versions of stuff
minus the clarinet part, so I can play along.  But I want repeats
to be observed in the Midi output!)


Peter C


_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to