]> git.donarmstrong.com Git - lilypond.git/commitdiff
(convert-to-ps): add -ofoo.ps to dvips
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 27 Mar 2005 17:39:08 +0000 (17:39 +0000)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Sun, 27 Mar 2005 17:39:08 +0000 (17:39 +0000)
options.

ChangeLog
scm/framework-tex.scm

index 33ceb29764462fb2eec754fef818451e70d9fd03..fc6c24acd455478f54cdeb0620bc7c9c1e757d93 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2005-03-27  Han-Wen Nienhuys  <hanwen@xs4all.nl>
 
+       * scm/framework-tex.scm (convert-to-ps): add -ofoo.ps to dvips
+       options.
+
        * lily/slur-scoring.cc (get_base_attachments): only look at stem
        extent for visible stems.
 
index 69bdf09afe09b3d021a20030046f14f9c83b7e36..af6ea94548d81c21fc096d9a2d56fef229a9abec 100644 (file)
         (papersizename (ly:output-def-lookup paper 'papersizename))
         (landscape? (eq? #t (ly:output-def-lookup paper 'landscape)))
         (base (basename name ".tex"))
+        (ps-name (format "~a.ps"  base ".ps"))
         (cmd (string-append "dvips "
                             (if preview?
                                 "-E "
                             (if (ly:kpathsea-find-file "ecrm10.pfa")
                                 "-u+ec-mftrace.map " "")
                             "-u+lilypond.map -Ppdf " ""
+                            "-o" ps-name
                             base)))
-    (let ((ps-name (string-append base ".ps")))
-      (if (access? ps-name W_OK)
-         (delete-file ps-name)))
+    (if (access? ps-name W_OK)
+       (delete-file ps-name)))
     (if (not (ly:get-option 'verbose))
        (begin
          (format (current-error-port) (_ "Converting to `~a'...")