X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=input%2Fregression%2Fclip-systems.ly;h=1bf7c926d1a050ad2c6b39104cce32f8d8d7e7df;hb=da653fe35a22219b04b1d31fc34d5341546465bd;hp=b86f9ac118cb712039affbe23606ba607545ee85;hpb=45a584cc7ecf283fe076c0dd85649167291c424c;p=lilypond.git diff --git a/input/regression/clip-systems.ly b/input/regression/clip-systems.ly index b86f9ac118..1bf7c926d1 100644 --- a/input/regression/clip-systems.ly +++ b/input/regression/clip-systems.ly @@ -14,49 +14,72 @@ 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}. - +@file{@var{base}-from-@var{start}-to-@var{end}[-@var{count}].eps}. " } -\version "2.9.23" - +\version "2.12.0" -% each clip-region is a (START . END) pair -% where both are rhythmic-locations. +#(ly:set-option 'clip-systems) -% (make-rhythmic-locations BAR-NUMBER NUM DEN) -% means NUM/DEN whole-notes into bar numbered BAR-NUMBER +#(set! output-count 1) -\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)) } + } + } +}