]> git.donarmstrong.com Git - lilypond.git/blobdiff - scm/output-pdftex.scm
*** empty log message ***
[lilypond.git] / scm / output-pdftex.scm
index ceb35e65d698006acc44b858c8740b9409d631e4..1a325fc2c49007a913dfa3f6a12efbc165ebab1d 100644 (file)
   ""
   )
 
-(if (or (equal? (minor-version) "4.1")
-       (equal? (minor-version) "4")
-       (equal? (minor-version) "3.4"))
-    (define (embedded-pdf expr)
-      (let ((ps-string
-            (with-output-to-string
-              (lambda () (pdf-output-expression expr (current-output-port))))))
-       (string-append "\\embeddedpdf{" ps-string "}")))
-    (define (embedded-pdf expr)
-      (let
-         ((os (open-output-string)))
-       (pdf-output-expression expr os)
-       (string-append "\\embeddedpdf{" (get-output-string os) "}"))))
+(define (embedded-pdf expr)
+  (let
+      ((os (open-output-string)))
+    (pdf-output-expression expr os)
+    (string-append "\\embeddedpdf{" (get-output-string os) "}")))
 
 
 (define (comment s)
                 (ly:number->string x) "}{"
                 s "}%\n"))
 
-(define (bezier-bow l thick)
-  (embedded-pdf (list 'bezier-bow  `(quote ,l) thick)))
-
 (define (bezier-sandwich l thick)
   (embedded-pdf (list 'bezier-sandwich  `(quote ,l) thick)))
 
                 (ly:number->string depth) "}{"
                 (ly:number->string height) "}"))
 
-(define (roundfilledbox x y width height blotdiam)
-  (embedded-pdf (list 'roundfilledbox  x y width height blotdiam)))
+(define (round-filled-box x y width height blotdiam)
+  (embedded-pdf (list 'round-filled-box  x y width height blotdiam)))
 
 (define (text s)
   (string-append "\\hbox{" (output-tex-string s) "}"))