]> git.donarmstrong.com Git - lilypond.git/commitdiff
more coverage.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 26 Jan 2007 15:45:49 +0000 (16:45 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Fri, 26 Jan 2007 15:45:49 +0000 (16:45 +0100)
input/regression/clip-systems.ly
input/regression/markup-commands.ly

index a49dceaf9d1416a4e4ceab45372d39d636c09bef..06247e76b52ce23938f37096cf150a1c2939a3e1 100644 (file)
@@ -21,41 +21,65 @@ The result will be files named
 
 \version "2.10.0"
 
+#(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)) }
+    }
+  }
+}
index 3e6a211fe976d1f83f91aacedf4d264ade2130a2..dc01e9e40b719eb49e96e5f97bb4d77b5dfcbb7d 100644 (file)
@@ -14,6 +14,7 @@
        foo \magnify #2 foo
        LOWER \lower #3 LOWER
        \large \bold { normal \normal-text normal }
+       Small-Caps \smallCaps   Small-Caps
       }
       
       \override #'(line-width . 50)