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: Gilles
Subject: Re: Trying to set global staff size on the commandline using -e option
Date: Sun, 30 Sep 2012 23:17:26 +0200
User-agent: Opera Mail/12.02 (Win64)


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


--
Gilles



reply via email to

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