2011/12/7 Xavier Scheuer <x.sche...@gmail.com>:
> Hi,
>
> Is it possible to set global staff size as command line option?
> Like it is possible to specify paper size with
>
>  lilypond -dpaper-size=\"letter\"  myfile.ly
>
> I'd like a similar command line option for #(set-global-staff-size 14) .
> Is there a way to achieve this with current version?


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.
-- 
Francisco Vila. Badajoz (Spain)
www.paconet.org , www.csmbadajoz.com

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to