Scott Webber writes:

> I'm trying to use lisp or schema or whatever to add postscript to a note,
> but I don't really understand the syntax exactly.

Try something like:

{ c c c c-"\\embeddedps{1 1 moveto 2 2 rlineto stroke}" }

I'm assuming you use 2.3 CVS, because otherwise you won't be able to
use ly snippets inside scheme.  However

% can't get this to work
#(define (slash x)
   ;; #{ \notes { $x-"\\embeddedps{1 1 moveto 2 2 rlineto stroke}" } #}
   #{ \notes { $x -"\\embeddedps{1 1 moveto 2 2 rlineto stroke}" } #}
)

% { c c c c #(slash 'c) }

> Now I realize that that isn't correct, but has anyone done anything like
> this before?

Have you looked the \embeddedps example in the tips and tricks?


-- 
Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org



_______________________________________________
lilypond-user mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/lilypond-user

Reply via email to