@item Regions can span multiple systems. In this case, multiple EPS files are generated.
@end itemize
-This file needs to be run separately with @code{-dclip-systems}; the
+This file needs to be run separately with @option{-dclip-systems}; the
collated-files.html of the regression test does not adequately show
the results.
}
-\version "2.9.23"
+\version "2.19.22"
+#(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 {
+ \set Staff.instrumentName = #"bla"
+ c'1
+ d
+ \grace c16
+ e1
+ \key d \major
-% (make-rhythmic-locations BAR-NUMBER NUM DEN)
-% means NUM/DEN whole-notes into bar numbered BAR-NUMBER
-
-\paper {
+ 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
-}
+#(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)) }
+ }
+ }
+}