(define (embedded-ps expr)
(let ((ps-string
(with-output-to-string
- (lambda () (ps-output-expression expr)))))
+ (lambda () (ps-output-expression expr (current-output-port))))))
(string-append "\\embeddedps{" ps-string "}")))
(define (embedded-ps expr)
(let
(ly-gulp-file "music-drawing-routines.ps"))
(if (defined? 'ps-testing) "/testing true def%\n" "")
"}"
- "\\input lilyponddefs \\outputscale=\\lilypondpaperoutputscale pt\\turnOnPostScript"))
+ "\\input lilyponddefs \\outputscale=\\lilypondpaperoutputscale "
+ ;; "pt"
+ "mm"
+
+ "\\turnOnPostScript"))
;; Note: this string must match the string in ly2dvi.py!!!
(define (header creator generate)
(string-append
"\n\\" s "{" (inexact->string i 10) "}" ))
-(define (invoke-dim1 s d)
- (string-append
- "\n\\" s "{" (number->dim d) "}"))
-(define (pt->sp x)
- (* 65536 x))
-
;;
;; need to do something to make this really safe.
;;
)
(define (define-origin file line col)
(if (procedure? point-and-click)
- (string-append "\\special{src\\string:"
+ (string-append "\\special{src:" ;;; \\string ?
(point-and-click line col file)
"}" )
"")