Gilles On 30 September 2012 22:17, Gilles <gilles.thiba...@free.fr> 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 _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user