X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fclip-systems.ly;h=7107a09e83858c7998c889be40dfd83215549dbd;hb=17d3559fc93cd3b2cc2afbc240abbe11874373c6;hp=1893821eeed89452301d90edbbeb527d3ce815aa;hpb=ada3322d1fed93e0f1d4b9612cc24b39088b3b26;p=lilypond.git diff --git a/input/regression/clip-systems.ly b/input/regression/clip-systems.ly index 1893821eee..7107a09e83 100644 --- a/input/regression/clip-systems.ly +++ b/input/regression/clip-systems.ly @@ -13,49 +13,72 @@ This file needs to be run separately with @code{-dclip-systems}; the collated-files.html of the regression test does not adequately show the results. -The result will be files named @file{@var{base}-system-@var{systemnumber}-@var{start}-@var{end}.eps}. - +The result will be files named +@file{@var{base}-from-@var{start}-to-@var{end}[-@var{count}].eps}. " } -\version "2.9.23" +\version "2.13.4" +#(ly:set-option 'clip-systems) +#(define output-suffix "1") -% each clip-region is a (START . END) pair -% where both are rhythmic-locations. +origScore = \score{ + \relative c' { + \set Staff.instrumentName = #"bla" + c1 + d + \grace c16 + e1 + \key d\major + + f + \break \clef bass + g, + fis + } +} -% (make-rhythmic-locations BAR-NUMBER NUM DEN) -% means NUM/DEN whole-notes into bar numbered BAR-NUMBER +\book { + \score { + \origScore + \layout { -\paper { + %% each clip-region is a (START . END) pair + %% where both are rhythmic-locations. + + %% (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)) + 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)) - ) + (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 -} +#(ly:set-option 'clip-systems #f) +#(define output-suffix #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)) } + } + } +}