]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/repeat-unfold.ly
Doc-es: various updates.
[lilypond.git] / input / regression / repeat-unfold.ly
index 984c657f72765a3f16a9a7bec196b144c61e980c..621608a0b4f5fe002cb22a629f900bc63ac3214c 100644 (file)
@@ -1,28 +1,23 @@
-\version "2.7.39"
+\version "2.19.21"
+
+#(ly:set-option 'warning-as-error #f)
+#(ly:expect-warning (_ "More alternatives than repeats.  Junking excess alternatives"))
 
 \header{
-  texidoc="
-LilyPond has three modes for repeats: folded, unfolded and
-semi-unfolded.  Unfolded repeats are fully written out. Semi unfolded
-repeats have the body written and all alternatives sequentially.
-Folded repeats have the body written and all alternatives
-simultaneo.ly.  If the number of alternatives is larger than the
-repeat count, the excess alternatives are ignored.  If the number of
-alternatives is smaller, the first alternative is multiplied to get to
-the number of repeats.
+  texidoc="LilyPond has two modes for repeats: unfolded and semi-unfolded. 
+Unfolded repeats are fully written out.  Semi unfolded repeats have the body
+written and all alternatives sequentially.  If the number of alternatives is
+larger than the repeat count, the excess alternatives are ignored.  If the
+number of alternatives is smaller, the first alternative is multiplied to
+get to the number of repeats.
 
-Unfolded behavior:
-"
+Unfolded behavior:"
 }
 
-
-
-\context Voice \relative c'' {
-  \repeat unfold 3 { c^"3x 0a" d }
+\context Voice \relative {
+  \repeat unfold 3 { c''^"3x 0a" d }
   %% less alts than body
   \repeat unfold 4 { c^"4x 0a" d } \alternative { e f }
   %% more alts than body
   \repeat unfold 2 { c^"2x 3a" d } \alternative { e f g } 
 }
-
-