X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fclip-systems.ly;h=7b06cf77f79be6f8bc9ee48f541ba0fe343f2eec;hb=8025288feb5f0d9342b04fff801f9947575e3a81;hp=a49dceaf9d1416a4e4ceab45372d39d636c09bef;hpb=0c289671d105bea58592607cb508aef59aee882b;p=lilypond.git diff --git a/input/regression/clip-systems.ly b/input/regression/clip-systems.ly index a49dceaf9d..7b06cf77f7 100644 --- a/input/regression/clip-systems.ly +++ b/input/regression/clip-systems.ly @@ -19,43 +19,67 @@ The result will be files named } -\version "2.10.0" +\version "2.11.51" +#(ly:set-option 'clip-systems) -% each clip-region is a (START . END) pair -% where both are rhythmic-locations. +#(set! output-count 1) -% (make-rhythmic-locations BAR-NUMBER NUM DEN) -% means NUM/DEN whole-notes into bar numbered BAR-NUMBER - -\paper { +origScore = \score{ + \relative { + \set Staff.instrumentName = #"bla" + c1 + d + \grace c16 + e1 + \key d\major + + f + \break \clef bass + g, + fis + } +} - clip-regions - = #(list - (cons - (make-rhythmic-location 2 0 1) - (make-rhythmic-location 4 0 1)) +\book { + \score { + \origScore + \layout { - (cons - (make-rhythmic-location 0 0 1) - (make-rhythmic-location 4 0 1)) + %% each clip-region is a (START . END) pair + %% where both are rhythmic-locations. - (cons - (make-rhythmic-location 0 0 1) - (make-rhythmic-location 6 0 1)) - ) + %% (make-rhythmic-locations BAR-NUMBER NUM DEN) + %% means NUM/DEN whole-notes into bar numbered BAR-NUMBER + + clip-regions + = #(list + (cons + (make-rhythmic-location 2 0 1) + (make-rhythmic-location 4 0 1)) + + (cons + (make-rhythmic-location 0 0 1) + (make-rhythmic-location 4 0 1)) + + (cons + (make-rhythmic-location 0 0 1) + (make-rhythmic-location 6 0 1)) + ) + } + } } -\relative { - \set Staff.instrumentName = #"bla" - c1 - d - \grace c16 - e1 - \key d\major - - f - \break \clef bass - g, - fis -} +#(set! output-count 0) +#(ly:set-option 'clip-systems #f) + +\book { + \score { \origScore } + \markup { \bold \fontsize #6 clips } + \score { + \lyrics { + \markup { from-2.0.1-to-4.0.1-clip.eps } + \markup { \epsfile #X #30.0 #(format #f "~a-1-from-2.0.1-to-4.0.1-clip.eps" (ly:parser-output-name parser)) } + } + } +}