]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/lily.scm
release: 1.1.54
[lilypond.git] / scm / lily.scm
index 268a383d62e407fad7d8ff7c449686fee3c4eca0..dbc8381e439061ae3a54a53a59c003b2a0a71c0b 100644 (file)
@@ -49,8 +49,7 @@
    (string-append (number->string (cadr c)) " ")))
 
 
-(define
-  (font i)
+(define (font i)
   (string-append
    "font"
    (make-string 1 (integer->char (+ (char->integer #\A) i)))
   (define (text s)
     (string-append "\\hbox{" (output-tex-string s) "}"))
   
-  (define (tuplet ht dx dy thick dir)
-    (embedded-ps ((ps-scm 'tuplet) ht dx dy thick dir)))
+  (define (tuplet ht gapx dx dy thick dir)
+    (embedded-ps ((ps-scm 'tuplet) ht gapx dx dy thick dir)))
 
-  (define (volta w thick last)
-    (embedded-ps ((ps-scm 'volta) w thick last)))
+  (define (volta w thick last)
+    (embedded-ps ((ps-scm 'volta) w thick last)))
 
   ;; TeX
   ;; The procedures listed below form the public interface of TeX-scm.
   
   (define (cached-fontname i)
     (string-append
-     " lilyfont"
+     "lilyfont"
      (make-string 1 (integer->char (+ 65 i)))))
 
   (define (select-font font-name)
 
   (define (header-end) "")
   (define (lily-def key val)
-    (string-append
-     "/" key " {" val "} bind def\n"))
 
+     (if (string=? (substring  key 0 (string-length "mudelapaper") ) "mudelapaper")
+        (string-append "/" key " {" val "} bind def\n")
+        (string-append "/" key " (" val ") def\n")
+        )
+     )
   (define (header creator generate) 
     (string-append
      "%!PS-Adobe-3.0\n"
     (string-append "(" s ") show  "))
 
 
-  (define (volta w thick last)
+  (define (volta w thick last)
     (string-append 
-     (numbers->string (list w thick (inexact->exact last)))
+     (numbers->string (list w thick (inexact->exact last)))
      " draw_volta"))
 
-  (define (tuplet ht dx dy thick dir)
+  (define (tuplet ht gap dx dy thick dir)
     (string-append 
-     (numbers->string (list ht dx dy thick (inexact->exact dir)))
+     (numbers->string (list ht gap dx dy thick (inexact->exact dir)))
      " draw_tuplet"))