]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/repeat-unfold.ly
Merge branch 'lilypond/translation' of ssh://git.sv.gnu.org/srv/git/lilypond into...
[lilypond.git] / input / regression / repeat-unfold.ly
index cb965c1610cfecf9985c7cd924cbe4bf00ce7e7a..9b1578266db459c2b1ce005dd21efaf4ac539427 100644 (file)
@@ -1,25 +1,22 @@
+\version "2.14.0"
+
 \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:"
 }
 
-\score {
-
-  \context Voice \notes\relative c'' {
-\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 } 
-}}
+#(ly:set-option 'warning-as-error #f)
 
+\context Voice \relative c'' {
+  \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 } 
+}