\scm "
+
(define (add-column p) (display \"adding column (in guile): \") (display p) (newline))
-(define (dashed-slur o l) (newline) (display \"output type: \") (display o) (newline) (display \"controls: \") (map display l) (newline))
-";
-% deze is blond
-% ((lambda (o) (dashed-slur o '((0.0 0.0) (17.2124966172942 -16.8303258151405) (161.324688856776 -15.2124966172942) (178.155014671916 2.0)))) 'ps)
+(define
+ (control->string c)
+ (string-append
+ (string-append (number->string (car c)) \" \")
+ (string-append (number->string (cadr c)) \" \")))
+
+(define
+ (dashed-slur-ps thick dash l)
+ (string-append
+ (apply string-append (map control->string l))
+ (number->string thick)
+ \" [ 0 \" (number->string dash) \" ] 0 draw_dashed_slur\"))
+
+(define
+ (dashed-slur-tex thick dash l)
+ (string-append
+ \"\\embedded_ps{\"
+ (dashed-slur-ps thick dash l)
+ \"}\"))
+
+(define
+ (dashed-slur o thick dash l)
+ ((eval-string (string-append \"dashed-slur-\" o)) thick dash l))
+
+";