lilypond-devel
[Top][All Lists]
Advanced

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

Re: Proposal of feature: inline options


From: Mats Bengtsson
Subject: Re: Proposal of feature: inline options
Date: Fri, 07 Mar 2008 13:46:36 +0100
User-agent: Thunderbird 2.0.0.5 (X11/20070716)

All the settings that can be done with
lilypond -d...
can be done also within LilyPond using
#(ly:set-option ...)
Run
lilypond -dhelp
to get a complete list of these options. For example, you can do
#(ly:set-option 'preview #t)

However, there are other settings that cannot be done within the input file,
for example setting the output format to png. I guess that at least for the
output format selection it would be very easy to add this possibility.
I'm not sure about all other options. Perhaps the input file isn't read
early enough to handle all of them (just speculating).

  /Mats

Francisco Vila wrote:
Csound does it, for example. You can call the compiler with
commandline options, but you can also write your options in the input
file, and commandline options would override them if they are present.

This would ease dramatically the png or preview generation for Windows
users (among many other possibilities)

Or, is it already possible from within scheme?

--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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