]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/test/beam-auto-override.ly
Assorted minor mostly one-line clarifications.
[lilypond.git] / input / test / beam-auto-override.ly
index 1969600e9517f758542c01c9b004ffe0757fbbc8..31ad673196eb97cf6da7b005127cc1116eef18f1 100644 (file)
@@ -1,5 +1,7 @@
 
-\version "2.1.30"
+%% ugh
+%% \version "2.7.39"
+
 \header {
 
     texidoc = "@cindex Auto Beaming Override
@@ -7,7 +9,7 @@
 The auto-beamer, which can be overridden, will only engrave beams 
 that end before encountering of 
 @itemize @bullet
-@item  a rest,
+@item a rest,
 @item
  an other, manually entered beam, or
 @item
@@ -22,27 +24,32 @@ The @code{autoBeaming} can also be turned off.
 
 %% TODO: check doc string. -hw
 
-\score{
-    \notes \relative c''{
-        #(override-auto-beam-setting '(end * * * *)  1 2)
-       \time 2/4
-       % one beam per measure
-       c8 c c c
-       c16 c c c c c c c
-       % from here on consider ending beam every 1/4 note
-       #(override-auto-beam-setting '(end * * * *) 1 4)
-
-       c8 c c c
-       % manually override autobeam with weird beaming
-       c8  c[ c] c
-       c8 c c r
-       c8 c c4
-       r8 c c c
-       % no autobeaming
-       \set autoBeaming = ##f
-       c8 c c c
-    }
-    \paper{raggedright = ##t}
+\layout{ragged-right = ##t}
+\relative c''{
+  %% This has now (2.5.21) changed, (end * * * *) no longer
+  %% masks the default config entry ('(end * * 2 4) 1 4))
+  %% rather than masking by override:
+  %% #(override-auto-beam-setting '(end * * * *) 1 2)
+  %% revert the config file setting.
+  #(revert-auto-beam-setting '(end * * 2 4) 1 4)
+  \time 2/4
+  
+  %% one beam per measure
+  c8 c c c
+  c16 c c c c c c c
+  
+  %% from here on consider ending beam every 1/4 note
+  #(override-auto-beam-setting '(end * * * *) 1 4)
+
+  c8 c c c
+  %% manually override autobeam with weird beaming
+  c8  c[ c] c
+  c8 c c r
+  c8 c c4
+  r8 c c c
+  %% no autobeaming
+  \set autoBeaming = ##f
+  c8 c c c
 }