]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/framework-eps.scm
Merge commit 'ce4b499'
[lilypond.git] / scm / framework-eps.scm
index cf9bec54b30888aa08fc3526bcecb2a24fa8596a..c39fb518a9405cffc42cac173dd0f0429cd0733d 100644 (file)
@@ -2,7 +2,7 @@
 ;;;;
 ;;;;  source file of the GNU LilyPond music typesetter
 ;;;;
-;;;; (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+;;;; (c) 2004--2007 Han-Wen Nienhuys <hanwen@xs4all.nl>
 
 (define-module (scm framework-eps))
 
@@ -10,7 +10,6 @@
 
 (use-modules (ice-9 regex)
             (ice-9 string-fun)
-            (ice-9 format)
             (guile)
             (scm framework-ps)
             (scm paper-system)
@@ -20,6 +19,8 @@
             (srfi srfi-13)
             (lily))
 
+(define format ergonomic-simple-format)
+
 (define framework-eps-module (current-module))
 
 
@@ -146,6 +147,9 @@ stencil, so LaTeX includegraphics doesn't fuck up the alignment."
 
 (define-public (output-framework basename book scopes fields)
   (output-scopes scopes fields basename)
+  (if (ly:get-option 'clip-systems)
+      (clip-system-EPSes basename book))
+
   (dump-stencils-as-EPSes
    (map page-stencil (ly:paper-book-pages book)) book basename))