lilypond-user
[Top][All Lists]
Advanced

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

Re: Trying to set global staff size on the commandline using -e option


From: James
Subject: Re: Trying to set global staff size on the commandline using -e option
Date: Mon, 1 Oct 2012 19:08:50 +0100

Gilles

On 30 September 2012 22:17, Gilles <address@hidden> wrote:
>
>> My command I am trying to run is
>>
>> lilypond -e '#(set-global-staff-size 32)' --pdf myfile.ly
>
>
> Hello James
> I had a similar problem in the past
> http://lists.gnu.org/archive/html/lilypond-user/2011-08/msg00007.html
> To run successfully your file, i have changed a bit your code and your
> command line.
> (Don't ask me why your code didn't work)
>
> --snip--
>   \version "2.16.0"
>   #(use-modules (guile-user))
>   #(if (defined? 'mysize) (set-global-staff-size mysize))
>   % #(if (defined? 'mysize) (format #t "mysize : ~a\n" mysize ))
>
>   { a b c d }
> --snip--
>
> -- command line --
> lilypond -e "(define mysize 30)" --pdf myfile.ly
> --
>
> If you are not in Windows, perhaps you'll have to change "" by '
> #(use-modules (guile-user)) gives error messages also for me
>

Thank you very much, that worked exactly like I wanted it to!

Do you know why I cannot use the normal '#(set-global-staff-size 22)'
or '(set-global-staff-size 22)' directly with the -e as that looks to
me (as someone who doesn't know anything really) like a 'Scheme
Expression'? or is this called something else?

James



reply via email to

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