lilypond-user
[Top][All Lists]
Advanced

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

Re: Set global staff size as command line option


From: David Kastrup
Subject: Re: Set global staff size as command line option
Date: Thu, 08 Dec 2011 10:56:58 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

-Eluze <address@hidden> writes:

> Francisco Vila wrote:
>> 
>> 2011/12/7 Xavier Scheuer <address@hidden>:
>> 
>> It is a way but the problem I find is that the file won't compile with
>> that commandline option.
>> 
>> Say your file is
>> 
>> % this is example.ly
>> #(use-modules (guile-user))
>> #(set-global-staff-size size)
>> \repeat unfold 20 { c'1 }
>> 
>> %END
>> 
>> you can call it with
>> 
>>   lilypond -e '(define-public size 40)' a.ly
>> 
>> and the value of size will be honoured as global staff size.
>> 
> i tried and all i get is:
>
> GNU LilyPond 2.15.21
> C:/Program Files
> (x86)/LilyPond/usr/share/lilypond/current/scm/lily.scm:709:3: In procedure
> scm_i_lreadparen in expression (eval-string (ly:command-line-code)):
> C:/Program Files
> (x86)/LilyPond/usr/share/lilypond/current/scm/lily.scm:709:3: #<unknown
> port>:1:25: end of file
>
> what's wrong?

Windows has a crappy command line.  Try using double quotes " instead of
the single quotes ' suggested above.

-- 
David Kastrup




reply via email to

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