I use LilyPond 2.6.1 on Fedora Core 4 and I'd like to use the -e command
line option, which makes lilypond evaluate a Scheme expression. I'd like
examples of this option usage are given in the documentation, because I
didn't manage to use it.
In fact I'd like to set paper size or other options from the command
line. Chris Sawer's post on 11 Nov 2004 about the same problem
(http://lists.gnu.org/archive/html/lilypond-user/2004-11/msg00186.html)
didn't get any answer.
Here's the terminal output:
[bash test]$ lilypond -e \(set-default-paper-size "a4"\) test3.ly
GNU LilyPond 2.6.1
ERROR: In procedure list:
ERROR: end of file
[bash test]$ lilypond -e \(set-default-paper-size \"a4\"\) test3.ly
GNU LilyPond 2.6.1
ERROR: In procedure list:
ERROR: end of file
[bash test]$ lilypond -e \(set-default-paper-size \"a4\"\)
GNU LilyPond 2.6.1
ERROR: In procedure list:
ERROR: end of file
[bash test]$ lilypond -e \(set-global-staff-size 23\) test3.ly
GNU LilyPond 2.6.1
ERROR: In procedure list:
ERROR: end of file
I also tried the same commands with replacing '-e ' by '--evaluate=',
and got the same result.