lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to produce a tiny example?


From: Patrick McCarty
Subject: Re: How to produce a tiny example?
Date: Fri, 9 Jan 2009 18:31:35 -0800

On Fri, Jan 9, 2009 at 4:13 PM, MonAmiPierrot <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]