On Fri, Jan 9, 2009 at 4:13 PM, MonAmiPierrot <pierofaust...@hotmail.com> wrote: > > Damian leGassick wrote: >> >> dear MAP >> >> (also doing my phD with LyX) >> >> in the terminal (well, actually in textmate...) i do: >> >> lilypond -dbackend=eps -dno-gs-load-fonts -dinclude-eps-fonts >> filename.ly >> >> which generates a clipped eps and pdf file which i then import into lyx >> > Seems what I need, but I don't want to manually process it and then import > the image. I want it perfectly clean: only the .ly files. > Is there a way to add some code in the .ly file just to tell him to be > treated in that manner?
Yes, you can add the following lines to your LY file: #(ly:set-option 'backend 'eps) #(ly:set-option 'gs-load-fonts #f) #(ly:set-option 'include-eps-fonts #t) You can use ly:set-option for any of the -d options. HTH, Patrick _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user