-Eluze <elu...@gmail.com> writes: > Francisco Vila wrote: >> >> 2011/12/7 Xavier Scheuer <x.sche...@gmail.com>: >> >> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user